SA-MP Forums Archive
AddStatic/Create Vehicle [Which] - 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: AddStatic/Create Vehicle [Which] (/showthread.php?tid=463478)



AddStatic/Create Vehicle [Which] - Sting. - 12.09.2013

I'm actually working on a DM script for almost 3 years now and well I'm checking to make sure things work as fine cause I don't want to have many problems once it is released. Now, for a normal DM script, is AddStaticVehicle or CreateVehicle better to use? I use AddStaticVehicle but it disappear in some minutes I think, don't know XD but which one is really recommended to be used?


Re: AddStatic/Create Vehicle [Which] - Weponz - 12.09.2013

If you don't need to remove the vehicles in the server use AddStaticVehicle, otherwise use CreateVehicle so you can remove them later in the server.

Typically AddStaticVehicle is used for server vehicles so they re-spawn after death, while CreateVehicle exists for vehicle systems in which you need to delete the vehicle at a certain time.


Re: AddStatic/Create Vehicle [Which] - Sting. - 12.09.2013

Thanks for the reply. I understand it now. Thanks.