Jump to content

Recommended Posts

Posted (edited)

Cine poate sa imi explice va rog cum pot sa rezolv erorile astea de la pawno/include si de ce imi apar: 

D:\gamemode samp\1 new gm\galactic\pawno\include\systems.inc(403) : error 017: undefined symbol "GetPlayerCash"
D:\gamemode samp\1 new gm\galactic\pawno\include\systems.inc(3514) : error 017: undefined symbol "CreateVehicleEx"
D:\gamemode samp\1 new gm\galactic\pawno\include\systems.inc(3515) : error 017: undefined symbol "CreateVehicleEx"
D:\gamemode samp\1 new gm\galactic\pawno\include\systems.inc(3516) : error 017: undefined symbol "CreateVehicleEx"
D:\gamemode samp\1 new gm\galactic\pawno\include\systems.inc(3517) : error 017: undefined symbol "CreateVehicleEx"
D:\gamemode samp\1 new gm\galactic\pawno\include\systems.inc(3518) : error 017: undefined symbol "CreateVehicleEx"
D:\gamemode samp\1 new gm\galactic\pawno\include\systems.inc(3521) : error 017: undefined symbol "CreateVehicleEx"
D:\gamemode samp\1 new gm\galactic\pawno\include\systems.inc(3522) : error 017: undefined symbol "CreateVehicleEx"
D:\gamemode samp\1 new gm\galactic\pawno\include\systems.inc(3523) : error 017: undefined symbol "CreateVehicleEx"
D:\gamemode samp\1 new gm\galactic\pawno\include\systems.inc(3524) : error 017: undefined symbol "CreateVehicleEx"
D:\gamemode samp\1 new gm\galactic\pawno\include\systems.inc(3525) : error 017: undefined symbol "CreateVehicleEx"
D:\gamemode samp\1 new gm\galactic\pawno\include\systems.inc(3528) : error 017: undefined symbol "CreateVehicleEx"
D:\gamemode samp\1 new gm\galactic\pawno\include\systems.inc(3529) : error 017: undefined symbol "CreateVehicleEx"
D:\gamemode samp\1 new gm\galactic\pawno\include\systems.inc(3530) : error 017: undefined symbol "CreateVehicleEx"
D:\gamemode samp\1 new gm\galactic\pawno\include\systems.inc(3531) : error 017: undefined symbol "CreateVehicleEx"
D:\gamemode samp\1 new gm\galactic\pawno\include\systems.inc(3532) : error 017: undefined symbol "CreateVehicleEx"
D:\gamemode samp\1 new gm\galactic\pawno\include\systems.inc(3533) : error 017: undefined symbol "CreateVehicleEx"
D:\gamemode samp\1 new gm\galactic\pawno\include\systems.inc(3534) : error 017: undefined symbol "CreateVehicleEx"

Liniile:

function Update(playerid, type) {
    if(IsPlayerConnected(playerid)) {
        new var[356];
        switch(type) {
/*(aici e linia 403) */   case pCashx: format(var, sizeof(var), "UPDATE `users` SET `Money`='%d' WHERE `ID`='%d'",GetPlayerCash(playerid), PlayerInfo[playerid][pSQLID]); 

/*(de aici incepe linia 3512)*/  function LoadVehicles() { 
    // BIKE SPAWN CIVIL
    CreateVehicleEx(510, 1777.1678, -1863.7816, 13.1945, 0.0000, -1, -1, 300);
    CreateVehicleEx(510, 1773.8069, -1863.7816, 13.1945, 0.0000, -1, -1, 300);
    CreateVehicleEx(510, 1770.1465, -1863.7816, 13.1945, 0.0000, -1, -1, 300);
    CreateVehicleEx(510, 1766.3438, -1863.7816, 13.1945, 0.0000, -1, -1, 300);
    CreateVehicleEx(510, 1762.4796, -1863.7816, 13.1945, -0.0600, -1, -1, 300);
    
    //
    CreateVehicleEx(487, 1336.4161, 1683.2526, 11.0635, -90.5400, -1, -1, 300);
    CreateVehicleEx(519, 1286.4354, 1323.8599, 11.9768, -87.1200, -1, -1, 300);
    CreateVehicleEx(519, 1286.6686, 1362.3014, 11.9768, -88.2000, -1, -1, 300);
    CreateVehicleEx(577, 1579.6351, 1191.5293, 10.6668, 0.0000, -1, -1, 300);
    CreateVehicleEx(511, 1508.2938, 1845.1360, 12.5783, -178.3199, -1, -1, 300);

    //
    LCS[0] = CreateVehicleEx(556, -2017.9601, -150.0044, 35.6249, 91.1400, -1, -1, 300);
    LCS[1] = CreateVehicleEx(556, -2017.9299, -157.4881, 35.6249, 91.1400, -1, -1, 300);
    LCS[2] = CreateVehicleEx(556, -2017.7510, -165.4162, 35.6249, 91.0200, -1, -1, 300);
    LCS[3] = CreateVehicleEx(556, -2017.8575, -173.4965, 35.6249, 89.1000, -1, -1, 300);
    LCS[4] = CreateVehicleEx(556, -2017.9636, -182.3769, 35.6249, 91.1400, -1, -1, 300);
    LCS[5] = CreateVehicleEx(556, -2017.6498, -190.5689, 35.6249, 91.1400, -1, -1, 300);
    LCS[6] = CreateVehicleEx(556, -2017.4580, -199.8871, 35.6249, 91.1400, -1, -1, 300);
    LCS[7] = CreateVehicleEx(556, -2017.3839, -209.1279, 35.6249, 90.9000, -1, -1, 300);
    LCS[8] = CreateVehicleEx(556, -2017.4465, -218.0090, 35.6249, 91.1400, -1, -1, 300);
    LCS[9] = CreateVehicleEx(556, -2017.2128, -226.2559, 35.6249, 89.9400, -1, -1, 300);
    LCS[10] = CreateVehicleEx(556, -2091.8369, -110.3988, 35.6249, 180.3000, -1, -1, 300);
    LCS[11] = CreateVehicleEx(556, -2082.2122, -110.7903, 35.6249, 180.0000, -1, -1, 300);
    LCS[12] = CreateVehicleEx(556, -2071.9854, -110.7488, 35.6249, 178.2600, -1, -1, 300);
    LCS[13] = CreateVehicleEx(556, -2061.6040, -110.9475, 35.6249, 180.1200, -1, -1, 300);
    LCS[14] = CreateVehicleEx(556, -2088.6765, -147.6316, 35.6249, -89.7600, -1, -1, 300);
    LCS[15] = CreateVehicleEx(556, -2089.0078, -156.0975, 35.6249, -89.7600, -1, -1, 300);
    LCS[16] = CreateVehicleEx(556, -2089.2251, -165.2786, 35.6249, -89.7600, -1, -1, 300);
    LCS[17] = CreateVehicleEx(556, -2089.3501, -174.3576, 35.6249, -89.7000, -1, -1, 300);
    LCS[18] = CreateVehicleEx(556, -2089.3503, -183.8870, 35.6249, -89.7000, -1, -1, 300);
    LCS[19] = CreateVehicleEx(556, -2089.3333, -193.7158, 35.6249, -89.5800, -1, -1, 300);
    LCS[20] = CreateVehicleEx(556, -2089.2910, -202.3554, 35.6249, -89.6400, -1, -1, 300);
    LCS[21] = CreateVehicleEx(556, -2089.1106, -210.3997, 35.6249, -89.6400, -1, -1, 300);
    LCS[22] = CreateVehicleEx(556, -2089.1907, -219.7027, 35.6249, -89.6400, -1, -1, 300);
    LCS[23] = CreateVehicleEx(556, -2089.2075, -228.7814, 35.6249, -88.4400, -1, -1, 300);
    LCS[24] = CreateVehicleEx(556, -2031.6254, -273.4817, 35.6249, -1.1400, -1, -1, 300);
    LCS[25] = CreateVehicleEx(556, -2040.0885, -273.2872, 35.6249, -1.4400, -1, -1, 300);
    LCS[26] = CreateVehicleEx(556, -2048.5757, -273.0646, 35.6249, -1.2000, -1, -1, 300);
    LCS[27] = CreateVehicleEx(556, -2057.3315, -273.4576, 35.6249, 0.6600, -1, -1, 300);
    LCS[28] = CreateVehicleEx(556, -2066.1663, -273.0640, 35.6249, 1.5000, -1, -1, 300);
    LCS[29] = CreateVehicleEx(556, -2074.6582, -273.4738, 35.6249, 1.5000, -1, -1, 300);
    LCS[30] = CreateVehicleEx(556, -2041.6499, -117.8520, 35.6249, 91.1400, -1, -1, 300);
    LCS[31] = CreateVehicleEx(556, -2035.2406, -125.6532, 35.6249, 181.5000, -1, -1, 300);
    LCS[32] = CreateVehicleEx(556, -2021.3992, -125.3094, 35.6249, 181.5000, -1, -1, 300);
    LCS[33] = CreateVehicleEx(556, -2015.4283, -109.6559, 35.6249, 181.5000, -1, -1, 300);
    LCS[34] = CreateVehicleEx(556, -2028.0840, -125.5793, 35.6249, 181.5000, -1, -1, 300);
    LCS[35] = CreateVehicleEx(556, -2021.7065, -273.6810, 35.6249, -1.0800, -1, -1, 300);
    LCS[36] = CreateVehicleEx(556, -2082.8765, -273.3257, 35.6249, 1.5000, -1, -1, 300);
    LCS[37] = CreateVehicleEx(556, -2089.4316, -238.3848, 35.6249, -88.4400, -1, -1, 300);
    LCS[38] = CreateVehicleEx(556, -2088.7549, -138.6296, 35.6249, -89.7600, -1, -1, 300);
    LCS[39] = CreateVehicleEx(556, -2089.4783, -246.9242, 35.6249, -88.4400, -1, -1, 300);
    LCS[40] = CreateVehicleEx(556, -2089.3982, -255.9543, 35.6249, -83.2200, -1, -1, 300);
    LCS[41] = CreateVehicleEx(556, -2017.9640, -142.5152, 35.6249, 89.7000, -1, -1, 300);
    LCS[42] = CreateVehicleEx(556, -2017.4371, -234.6060, 35.6249, 89.9400, -1, -1, 300);
    LCS[43] = CreateVehicleEx(556, -2017.5999, -243.7596, 35.6249, 89.9400, -1, -1, 300);
    LCS[44] = CreateVehicleEx(556, -2018.0402, -253.2355, 35.6249, 89.9400, -1, -1, 300);

    for(new v = 0; v < 45; v++) SetVehicleVirtualWorld(LCS[v], 556);

Edited by NewTon
Posted

Pai vezi ca de unde ai copiat toata treaba aia ai si o functie separata, numita "CreateVehicleEx".

Trebuie sa fie si asta in gamemode-ul din care ai copiat.

  • Mister locked this topic
Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.