No Respawn Time For Group of Vehs - 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: No Respawn Time For Group of Vehs (
/showthread.php?tid=90005)
No Respawn Time For Group of Vehs -
Puzi - 05.08.2009
Hey there,
I have a group of cars and I would like to make them not-respawnable. Would private plates fix the case or not? Because I would like to introduce private plates too, but I heard you have to make it so they don't respawn, that's the rule. How do you do that? Here is the code which I need no respawn time for:
Код:
//Puzi
AddStaticVehicle(579,-1034.5870,-1139.7880,129.1472,91.1321,0,0); // Huntley/Puzi
AddStaticVehicle(540,-1034.2517,-1147.0754,129.1567,89.5341,1,1); // Vincent/Puzi
AddStaticVehicle(546,-1063.9612,-1181.1299,129.1508,275.1503,3,3); // Intruder/Puzi
AddStaticVehicle(506,-1032.3813,-1277.7249,129.5453,89.1956,0,0); // SuperGT/Puzi
AddStaticVehicle(593,-1070.7122,-1249.0212,129.6808,266.9998,9,39); // Dodo/Puzi
//Qarol
AddStaticVehicle(579,-684.9230,966.6672,11.8563,91.1593,0,0); // Huntley/Qarol
AddStaticVehicle(493,-652.0671,867.8171,-0.1820,217.5952,36,13); // Jetmax/Qarol
AddStaticVehicle(447,-646.1082,878.1801,-0.1042,217.4969,36,13); // SeaSparrow/Qarol
AddStaticVehicle(422,-1433.4760,-950.5818,200.9643,259.4895,36,2); // Bobcat/Qarol (Działka)
Thanks and Regards
Puzi
Re: No Respawn Time For Group of Vehs -
Sergei - 05.08.2009
You can set respawn time to -1 (never respawns), but only with CreateVehicle.
Re: No Respawn Time For Group of Vehs -
Puzi - 05.08.2009
Quote:
Originally Posted by Sergiy
You can set respawn time to -1 (never respawns), but only with CreateVehicle not with statics.
|
Ah well, I have AddStaticVehicle, so do you say its impossible?
Re: No Respawn Time For Group of Vehs -
Sergei - 05.08.2009
Quote:
Originally Posted by Puzi
Quote:
Originally Posted by Sergiy
You can set respawn time to -1 (never respawns), but only with CreateVehicle not with statics.
|
Ah well, I have AddStaticVehicle, so do you say its impossible?
|
I don't know, maybe static vehicles doesn't respawn ever if they aren't destroyed; I don't know really since I always use CreateVehicle.
Re: No Respawn Time For Group of Vehs -
Puzi - 05.08.2009
Quote:
Originally Posted by Sergiy
Quote:
Originally Posted by Puzi
Quote:
Originally Posted by Sergiy
You can set respawn time to -1 (never respawns), but only with CreateVehicle not with statics.
|
Ah well, I have AddStaticVehicle, so do you say its impossible?
|
I don't know, maybe static vehicles doesn't respawn ever if they aren't destroyed; I don't know really since I always use CreateVehicle.
|
So, erm, does anybody know it with AddStaticVehicle?