Quote:
Originally Posted by MugiwaraNoLuffy
pawn Код:
CMD:borrarautos(playerid,params[]) { new bool:playerinvehicle; for(new i; i< MAX_VEHICLES; i++) { for(new u; u< MAX_PLAYERS; u++) { if(IsPlayerInVehicle(u, i)) { playerinvehicle = true; break; } } if(playerinvehicle) { playerinvehicle = false; continue; } DestroyVehicle(i); } return 1; }
|
Aun asi los autos[playerid] que esten sin un jugador en ellos van a borrarse, quiero que no se borren esos...