SA-MP Forums Archive
Respawn all vehicles - 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: Respawn all vehicles (/showthread.php?tid=112739)



Respawn all vehicles - BP13 - 09.12.2009

Is it possible for a command to send all the vehicles to the respawn point without any custom car system or making a "new" for every single car?


Re: Respawn all vehicles - Nero_3D - 09.12.2009

what about an easy loop through all vehiclesids ?

I think I dont need to explain more for a guy with that many posts, even if you arent scripter you should know where you can find help about the keywords


Re: Respawn all vehicles - Sergei - 09.12.2009

pawn Код:
for(new x=1; x<MAX_VEHICLES; x++) SetVehicleToRespawn(x);



Re: Respawn all vehicles - Nero_3D - 09.12.2009

Quote:
Originally Posted by $ЂЯĢ
pawn Код:
for(new x=1; x<MAX_VEHICLES; x++) SetVehicleToRespawn(x);
best reason why there are so many stupid people on the world :S

the guys who know the answer post it and the requester only copys without hesitation

and if you like to post code or want get some code go to the Script Request Topic


Re: Respawn all vehicles - BP13 - 09.12.2009

Quote:
Originally Posted by $ЂЯĢ
pawn Код:
for(new x=1; x<MAX_VEHICLES; x++) SetVehicleToRespawn(x);
Works, thank you for your time.

Quote:
Originally Posted by ♣ ⓐⓢⓢ
Quote:
Originally Posted by $ЂЯĢ
pawn Код:
for(new x=1; x<MAX_VEHICLES; x++) SetVehicleToRespawn(x);
best reason why there are so many stupid people on the world :S

the guys who know the answer post it and the requester only copys without hesitation

and if you like to post code or want get some code go to the Script Request Topic
Script request thread is like the Internet tab and making a new post is like a official tab, more views or more players. This also is not really a script its a function or command.

- Any moderator may lock this topic.


Re: Respawn all vehicles - Nero_3D - 10.12.2009

Quote:
Originally Posted by [SU
BP13 ]
Script request thread is like the Internet tab and making a new post is like a official tab, more views or more players. This also is not really a script its a function or command.
man, its not more as a line, one of x billion, that many posts and still no clue about scritping, hanging around in the offtopic section isnt effective

And $ЂЯĢ, your comments to ZCMD and foreach arent true