22.06.2014, 00:28
pawn Код:
new JoinedEvent[MAX_PLAYERS]; // Top of script
/joinevent
JoinedEvent[playerid] = 1;
new count;
count++;
OnPlayerDeath:
if(JoinedEvent[playerid] == 1)
{
count--;
You've been killed and you're now out of the event.
if(count == 1)
{
Declare winner.
}
}