SA-MP Forums Archive
Can someone explain me what make it differents? - 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: Can someone explain me what make it differents? (/showthread.php?tid=542567)



Can someone explain me what make it differents? - Raefal - 20.10.2014

Yea, some question, what make :
AddStaticVehicleEx
AddStaticVehicle
CreateVehicle

differents?


Rep++ lol


Re: Can someone explain me what make it differents? - Quickie - 20.10.2014

AddStaticVehicle adds car to ur server,only used in ongamemodeenit
AddStaticVehicleEx has extra parameter which is delay respawn
CreateVehicle is an alternative for AddStaticVehicle which can be used anywhere


Re: Can someone explain me what make it differents? - AroseKhanNiazi - 20.10.2014

Quote:

Adds a 'static' vehicle (models are pre-loaded for players)to the gamemode. Can only be used when the server first starts (under OnGameModeInit). Differs from AddStaticVehicle in only one way: allows a respawn time to be set for when the vehicle is left unoccupied by the driver.

Quote:

CreateVehicle Creates a vehicle in the world. Can be used in place of AddStaticVehicleEx at any time in the script.

and that's the difference
edit he was faster...
edit btw 1k posts posted


Re: Can someone explain me what make it differents? - Quickie - 20.10.2014

Quote:
Originally Posted by AroseKhanNaizi
Посмотреть сообщение
and that's the difference
edit he was faster...
edit btw 1k posts posted
Nice
Congrats BRO


Re: Can someone explain me what make it differents? - AroseKhanNiazi - 21.10.2014

Quote:
Originally Posted by Quickie
Посмотреть сообщение
Nice
Congrats BRO
Thanks