Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- stock ResetarCarros(playerid)
- {
- SendClientMessageToAll(0xF*4, "[INFO]: algum administrador espawnou todos os carros.");
- static bool:inVeh;
- for(new i; i < MAX_VEHICLES; i++ )
- {
- inVeh = false;
- for(new j; j < GetMaxPlayers(); j++ )
- {
- if(IsPlayerInVehicle( j, i ))
- inVeh = true;
- break;
- }
- if(!inVeh) SetVehicleToRespawn(i);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment