for(new pl = 0; pl<MAX_PLAYERS; pl++) { if(IsPlayerConnected(pl)) { if(!IsPlayerInVehicle(pl, i)) { SetVehicleToRespawn(i); } } }