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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Vehicles (/showthread.php?tid=95595)



Vehicles - DowNlOaD_ - 04.09.2009

i got a question

what is the difference between

AddStaticVehicle and CreateVehicle


Re: Vehicles - Butilka - 04.09.2009

Man...search in Wiki first.
Код:
AddStaticVehicle
This function can only create vehicles in the OnGameModeInit callback, and vehicles created with this function cannot be removed.

Код:
CreateVehicle
This function can add vehicles to your gamemode. You can use it in opposite to AddStaticVehicle at any time in the script.