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)
+--- Thread: Vehicle respawn (
/showthread.php?tid=465724)
Vehicle respawn -
AphexCCFC - 23.09.2013
How do I make it so the vehicle will respawn even if a players runs into it or a car knocks it out of place and not just when someone has driven the vehicle out of place? Is setting a continuous global timer the only way for this?
Re: Vehicle respawn -
Dragonsaurus - 23.09.2013
I believe you should change the respawn_delay parameter (Change every AddStaticVehicle to AddStaticVehicleEx) and when using CreateVehicle to 1 second.
Re: Vehicle respawn -
AphexCCFC - 23.09.2013
Quote:
Originally Posted by Dragonsaurus
I believe you should change the respawn_delay parameter (Change every AddStaticVehicle to AddStaticVehicleEx) and when using CreateVehicle to 1 second.
|
Thanks for replying. Nope, it only respawns the vehicle wherever the player drives it but if I push the vehicle or bash it with another car it doesn't respawn.
Re: Vehicle respawn -
AphexCCFC - 03.10.2013
Bump