Teambalance?
#9

At first you need create function to count teams like:

pawn Код:
for(new i = 0; i != MAX_PLAYERS; i++)
{
    new Team1,Team2;
    if(!IsPlayerConnected(i)) continue;
   
    if(IsPlayerIn1Team(i))
    {
        Team1++;
    }
    else
    {
        Team2++;
    }
}
and then you can check on Request
Reply


Messages In This Thread
Teambalance? - by geerdinho8 - 31.05.2011, 20:43
Re: Teambalance? - by SpiderWalk - 31.05.2011, 20:49
Re: Teambalance? - by geerdinho8 - 31.05.2011, 21:44
Re: Teambalance? - by Joe Staff - 31.05.2011, 22:18
Re: Teambalance? - by geerdinho8 - 01.06.2011, 09:23
Re: Teambalance? - by Biesmen - 01.06.2011, 09:27
Re: Teambalance? - by geerdinho8 - 01.06.2011, 09:52
Re: Teambalance? - by geerdinho8 - 01.06.2011, 12:23
Re: Teambalance? - by Raimis_R - 01.06.2011, 12:27

Forum Jump:


Users browsing this thread: 1 Guest(s)