Help[REP+]
#1

How to fix this error?
Код:
C:\Users\Thanosgalio\Desktop\Call of duty\gamemodes\mine.pwn(28) : error 017: undefined symbol "LoadVehicles"
Reply
#2

Give the codes of LoadVehicles
Reply
#3

Код:
public OnGameModeInit( )
{
    UsePlayerPedAnims(); // Uses GTA:SA normal anims for player not to run in a rare way.

    SetGameModeText (GameMode); // Gives the GameMode a name .. If u didnt do #define GameMode "Text" pawno will send u error messages

    LoadVehicles();
    AddPlayerClass( 0, 2195.4729, 1688.1770, 12.3672, 266.4879, -1, 10000, -1, 10000, -1, 10000 ); // Spawn Assasins 1
    AddPlayerClass( 78, 2195.8218, 1685.8918, 12.3672, 266.4879, -1, 10000, -1, 10000, -1, 10000 ); // Spawn Assasins 2

    AddPlayerClass( 23  -1, 10000, -1, 10000, -1, 10000 ); // Spawn Police 1
    AddPlayerClass( 285, 2281.4963, 2467.0193, 3.5313, 182.1925, -1, 10000, -1, 10000, -1, 10000 ); // Spawn Police 2
}
Reply
#4

Have you copied it from another script? maybe it requires stock of loadvehicles.
Reply
#5

https://sampforum.blast.hk/showthread.php?tid=418054
Reply
#6

Search loadvehicles in the script from which u have copied it and place it in ur script
Reply
#7

pawn Код:
stock LoadVehicles()
{
    // Police Vehicles
    AddStaticVehicle(598,2314.5166,2455.2322,3.0175,270.4656,0,1);  // Police Car 1 | ( LVPD )
    AddStaticVehicle(598,2314.4871,2460.4189,3.0199,269.2951,0,1);  // Police Car 2 | ( LVPD )
    AddStaticVehicle(598,2314.2512,2465.3118,3.0218,270.5271,0,1);  // Police Car 3 | ( LVPD )
    AddStaticVehicle(598,2313.8899,2470.3916,3.0209,269.2904,0,1);  // Police Car 4 | ( LVPD )
    AddStaticVehicle(598,2313.7957,2475.1494,3.0183,271.1079,0,1);  // Police Car 5 | ( LVPD )
    AddStaticVehicle(598,2314.4668,2480.2031,3.0177,269.7416,0,1);  // Police Car 6 | ( LVPD )
    AddStaticVehicle(598,2314.4568,2485.1697,3.0170,271.3759,0,1);  // Police Car 7 | ( LVPD )
    AddStaticVehicle(598,2285.6282,2475.5735,3.0162,180.2829,0,1);  // Police Car 8 | ( LVPD )
    AddStaticVehicle(598,2281.4402,2474.9036,3.0181,180.5781,0,1);  // Police Car 9 | ( LVPD )
   
    // Assasins Vehicles
    AddStaticVehicle(411,2176.8386,1664.8558,10.5474,178.3957,116,1);   // Assasins Car 1 | ( Infernus )
    AddStaticVehicle(411,2176.9980,1670.5874,10.5474,178.3957,116,1);   // Assasins Car 2 | ( Infernus )
    AddStaticVehicle(411,2177.1799,1680.6041,10.6552,178.4888,116,1);   // Assasins Car 3 | ( Infernus )
    AddStaticVehicle(411,2176.8721,1687.7756,10.5474,179.4075,116,1);   // Assasins Car 4 | ( Infernus )
    AddStaticVehicle(411,2176.9075,1695.3198,10.5991,179.3561,116,1);   // Assasins Car 5 | ( Infernus )
    AddStaticVehicle(415,2147.8801,1672.4912,10.5929,150.7361,40,1);    // Assasins Car 6 | ( Cheetah )
    AddStaticVehicle(415,2149.8684,1678.3390,10.5924,172.3202,40,1);    // Assasins Car 7 | ( Cheetah )
    AddStaticVehicle(415,2149.7190,1685.4001,10.5909,193.4975,40,1);    // Assasins Car 8 | ( Cheetah )
    AddStaticVehicle(415,2147.1289,1692.9467,10.5906,201.8330,40,1);    // Assasins Car 9 | ( Cheetah )
    AddStaticVehicle(415,2139.9570,1701.5696,10.5896,226.5212,40,1);    // Assasins Car 10 | ( Cheetah )
}
add this to ur script
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)