Respawn all vehicles
#1

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?
Reply
#2

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
Reply
#3

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

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
Reply
#5

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.
Reply
#6

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)