SA-MP Forums Archive
Cars Respawing when they're not suppose to - 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: Cars Respawing when they're not suppose to (/showthread.php?tid=190645)



Cars Respawing when they're not suppose to - ihatetn931 - 16.11.2010

Ok, in my server everycar that is added is a AddStaticVehicle, Now for some reason my cars seem to respawn after so long, I haven't coded anything to make them respawn, What could be causing this?


Re: Cars Respawing when they're not suppose to - LarzI - 16.11.2010

AddStaticVehicle causes the vehicle to respawn after some time, no matter what. (I believe it's after 5 or 10 minutes.)

I think by using AddStaticVehicleEx and putting "-1" as respawn_delay, the cars will never respawn (correct me if I'm wrong.)