Where can i find this !!! - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Where can i find this !!! (
/showthread.php?tid=473592)
Where can i find this !!! -
Alexander8 - 03.11.2013
where can i find the FBI , LSPD etc Vehicles in the GM , and how can i add one or where excatly ?!
Re: Where can i find this !!! -
Riwerry - 03.11.2013
As first, you must find the car ID here
https://sampwiki.blast.hk/wiki/Vehicle_Model_ID_List
Then go to your:
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;
}
Re: Where can i find this !!! -
Jony_Cruze - 03.11.2013
try to search
pawn Код:
AddStaticVehicle or AddstaticVehicleEx