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



car respawns. - bartje01 - 03.02.2010

hello guys. My cars are respawning to fast. How can I change this?

AddStaticVehicle(432,12.9521,-1920.7175,2.3933,16.3990,61,61);
I have to put a spawn delay in that or something?
If yes: where?


Re: car respawns. - ghost_danutz - 03.02.2010

Quote:
Originally Posted by bartje01
hello guys. My cars are respawning to fast. How can I change this?

AddStaticVehicle(432,12.9521,-1920.7175,2.3933,16.3990,61,61);
I have to put a spawn delay in that or something?
If yes: where?
AddStaticVehicleEx(432,12.9521,-1920.7175,2.3933,16.3990,61,61,number);

number = number of seconds you want your car to respawn after

AddStaticVehicleEx(432,12.9521,-1920.7175,2.3933,16.3990,61,61,720);
that would be 12 mins. (720 sec).
Thought it's AddStaticVehicleEx and not AddStaticVehicle.