SA-MP Forums Archive
Vehicle Respawn - 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: Vehicle Respawn (/showthread.php?tid=126775)



Vehicle Respawn - Dave1972 - 10.02.2010

I had a look around the forum with search, could not find much relating to my issue, so il ask here.

For some reason, When someone uses a vehicle and the leave it, it should respawn within 10seconds but it dosnt.

I think it could be spawning at Blueberry as its very laggy and i have seen vehicles iv spawned myself appear there a few times.

Im using CreateVehicle with a 10second respawn delay, but even with that, it never respawns.
Any idea why?


Re: Vehicle Respawn - mansonh - 10.02.2010

Yah I have been a bit confused with that myself as addstaticvehiclex has a different version of respawn_delay, I'm not sure if they are the same or different.

If you post your command it may help.

Quote:
Originally Posted by mansonh
https://sampwiki.blast.hk/wiki/CreateVehicle
the respawn delay in the basic createvehicle says:
respawn_delay The delay until the car is respawned without a driver in seconds.

https://sampwiki.blast.hk/wiki/AddStaticVehicleEx
However for addstaticvehicle says:
respawn_delay Time until the vehicle respawns when it is destroyed in seconds

Not sure if its the same or not.
So to be sure use CreateVehicle