How do I do this?
#6

Shit. Try this:

pawn Код:
stock NewRound()
{
    new count, count2;
    for (new i = 0; i < MAX_PLAYERS; i ++)
    {
        if (IsPlayerConnected(i) && gTeam[i] != TEAM_ZOMBIE) count++;
    }
    for (new i = 0; i < MAX_PLAYERS; i ++)
    {
        if (IsPlayerConnected(i) && gTeam[i] == TEAM_ZOMBIE) count2++;
    }
    if (count == count2)
    {
        SendRconCommand("gmx");
    }
    return 1;
}
Reply


Messages In This Thread
How do I do this? - by Deaglez - 28.10.2012, 07:23
Re: How do I do this? - by Emmet_ - 28.10.2012, 07:24
Re: How do I do this? - by Deaglez - 28.10.2012, 07:31
Re: How do I do this? - by Emmet_ - 28.10.2012, 07:35
Re: How do I do this? - by Deaglez - 28.10.2012, 07:53
Re: How do I do this? - by Emmet_ - 28.10.2012, 07:54
Re: How do I do this? - by JaKe Elite - 28.10.2012, 07:56
Re: How do I do this? - by Emmet_ - 28.10.2012, 07:57
Re: How do I do this? - by Deaglez - 28.10.2012, 07:59
Re: How do I do this? - by JaKe Elite - 28.10.2012, 08:03

Forum Jump:


Users browsing this thread: 2 Guest(s)