counting
#1

Hi, I am making derby system and I don't know how to read how many players have variable IsAlive[MAX_PLAYERS] on 1
Reply
#2

Try searching on wiki/******s
Reply
#3

pawn Код:
GetAlivePlayers()
{
    new xcount;
    for(new pt = 0; pt < MAX_PLAYERS; pt++)
        if(IsAlive[pt])
            xcount++;
    return xcount;
}
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)