Vehicles Respawn too Quickly - 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: Vehicles Respawn too Quickly (
/showthread.php?tid=411694)
Vehicles Respawn too Quickly -
Psilocin - 30.01.2013
All of my vehicles respawn too quickly, as soon as you move away from it for just a moment, like if you hop off your bike to go into amunation to buy armor, then poof Is it's gone and your left stranded... is there a simple way to stop this from happening ? I cant seem to find a snippet anywhere... Any help would be appreciated thanks.
Re: Vehicles Respawn too Quickly -
MA_proking - 30.01.2013
Increase the Timing of respawn dealy.
For e.g.
pawn Код:
AddStaticVehicleEx(modelid, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:angle, color1, color2, respawn_delay);
AddStaticVehicleEx ( 520, 2109.1763, 1503.0453, 32.2887, 82.2873, 0, 1,
15 );
Increase the Red part.
Re: Vehicles Respawn too Quickly -
StuartD - 30.01.2013
if you set the number to -1 then this should stop that vehicle respawning
Re: Vehicles Respawn too Quickly -
MP2 - 30.01.2013
You should note that it is in seconds. As previous people failed to mention.