SA-MP Forums Archive
[HELP] 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: [HELP] Vehicle respawn (/showthread.php?tid=129832)



[HELP] Vehicle respawn - addinol - 23.02.2010

Hey, can someone help me to find where can i change the time for car respawn, the simple cars won't respawn but the Job cars such as Tow Truck or Sweeper respawn in like 3 second after i exit/leave car, and it goes back to default spawn.

http://solidfiles.com/d/OLdy

EDIT: i found this:

AddStaticVehicleEx(525,2261.7034,-2339.6450,13.4244,316.0482,0,1,7200000);

THERE IS A RESPAWN DELAY, but it won't work i think. or should i look for another code?


Re: [HELP] Vehicle respawn - addinol - 24.02.2010

HELP


Re: [HELP] Vehicle respawn - Joe Staff - 24.02.2010

That respawn delay is in SECONDS, not MILLISECONDS. 7200000 seconds = 83.33 DAYS!


Re: [HELP] Vehicle respawn - addinol - 24.02.2010

its ok but why car respawns not then when destroyed but then when i get out from it.