help survivor
#3

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.
    }
}
EDIT: Just seen Cypress' edit.
Reply


Messages In This Thread
help survivor - by Freak@ - 22.06.2014, 00:22
Re: help survivor - by Cypress - 22.06.2014, 00:25
Re: help survivor - by BleverCastard - 22.06.2014, 00:28
Re: help survivor - by Cypress - 22.06.2014, 00:33
Re: help survivor - by Freak@ - 22.06.2014, 00:52
Re: help survivor - by Dr.Einstein - 22.06.2014, 02:32

Forum Jump:


Users browsing this thread: 1 Guest(s)