Vehicles spawn
#1

Hello can anybuddy give me a code for make cars spawn auto each 5 or 10 minutes
Ty-
Reply
#2

Can you be a little more detailed? I'm not going to write the whole code for you, though, but I'll give you advice, and some links, based on the things you exactly want.
Reply
#3

Wil that work?

AddStaticVehicleEx(modelid , x , y , z , angle , color1 , color2 , respawn_delay);
Reply
#4

pawn Код:
SetTimer("RespawnVeh", 300000, false);

forward RespawnVeh();
public RespawnVeh(){
     for(new v=0; v < MAX_VEHICLES; v++)
     {
           SetVehicleToRespawn(v);
     }
}
Will respawn all vehicles on the server
Reply
#5

SetTimer("RespawnVeh", 300000, false);

Isn't that gonna be true, because he wants it re spawn every 300000 milliseconds.
Reply
#6

yes my bad.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)