25.10.2009, 21:31
I made a script like this but idk if I want to give it out. Crap I don't even know if it works or not xD
But here is detect if all players are dead.
idk something like that
But here is detect if all players are dead.
Код:
public OnPlayerDeath(playerid, killerid, reason) { new dead,alive; for(new i=0; i<MAX_PLAYERS; i++){ if(spectating[i] == 0) alive++; } else dead++ } if(alive == 0) { //blah }