Where can i find this !!!
#1

where can i find the FBI , LSPD etc Vehicles in the GM , and how can i add one or where excatly ?!
Reply
#2

As first, you must find the car ID here https://sampwiki.blast.hk/wiki/Vehicle_Model_ID_List
Then go to your:
pawn Код:
public OnGameModeInit()
And add line for create car.
pawn Код:
AddStaticVehicle(modelid, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:angle, color1, color2);
Coordinates X, Y, Z, you can get, when you ingame walk on position, where you want to spawn vehicle and use command /save, then locate save.txt

It should like this

pawn Код:
public OnGameModeInit()
{
    AddStaticVehicle(modelid, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:angle, color1, color2);
    return 1;
}
Reply
#3

try to search
pawn Код:
AddStaticVehicle or AddstaticVehicleEx
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)