SA-MP Forums Archive
Vehicles - 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: Vehicles (/showthread.php?tid=435824)



Vehicles - Latisha - 08.05.2013

I wanna CreateVehicle or AddStaticVehicle
But How?


Re: Vehicles - NathNathii - 08.05.2013

https://sampwiki.blast.hk/wiki/AddStaticVehicle - AddStaticVehicle
https://sampwiki.blast.hk/wiki/CreateVehicle - CreateVehicle


Re: Vehicles - Latisha - 08.05.2013

What's the different?


Re: Vehicles - NathNathii - 08.05.2013

If you read what I posted, you will see it.


Re: Vehicles - Yashas - 08.05.2013

AddStaticVehicle will work only in OnGameModeInit or OnFilterscriptInit.If you want to create a vehicle at run-time you need to use CreateVehicle.AddStaticVehicle won't work if its called outside OnGameModeInit or OnFilterscriptInit.