cars auto respawning - 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 auto respawning (
/showthread.php?tid=251420)
cars auto respawning -
HondaCBR - 26.04.2011
hello i got some cars on my server
pawn Код:
AddStaticVehicle(436,2791.5159,1295.5333,10.5165,359.1414,87,1); // previon
AddStaticVehicle(492,2765.7642,1291.1985,10.5316,270.4680,77,26); // greenwood
AddStaticVehicle(492,2775.6335,1295.5179,10.5318,178.8108,77,26); // greenwood2
and they respawn on their own every certain amount of time even tho they are not Ex vehicles, does anyone know why?
Re: cars auto respawning -
TheYoungCapone - 27.04.2011
You need to change the respawn time. Which is the last number 26 that means it will respawn every 26seconds that a player is not in the car.
Re: cars auto respawning -
HondaCBR - 27.04.2011
As i said they are not AddStaticVehicleEx, so there is not last varible which would send them to spawn lets say every 26s (26000). But some how they respawn and i dont want them to
Re: cars auto respawning -
randomkid88 - 11.05.2011
Use AddStaticVehicleEx but set the respawn_delay to -1, which deactivates it.