11.08.2014, 16:22
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);
}