Need fs or pawn : Respawncars all the server or anti car spaming in the air
#2

Try something like this:

pawn Код:
for(new a = 0; a < MAX_VEHICLES; a++) {
    new bool:o = false;
    for(new b = 0; b < MAX_PLAYERS; b++) if(GetPlayerVehicleID(b) == a) o = true;
    if(o == true) SetVehicleToRespawn(a);
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)