[Help] Cant make a 4 team balancer...
#8

I got this from a GM, not actually what you want
but could be usefull

pawn Код:
for(new p = 0; p < GetMaxPlayers(); p++)
  {
    if (GetPlayerTeam(p) == TEAM_ArmyRUS) Count1++;
    else if (GetPlayerTeam(p) == TEAM_ArmyUSA) Count2++;
  }
  if ((Count1 > Count2) && GetPlayerTeam(playerid) == TEAM_ArmyUSA)
  {
    SendClientMessage(playerid,COLOR_RED, "[SERVER] Please choose another team so match will be balanced.");
    return 0;
  }
  else if ((Count2 > Count1) && GetPlayerTeam(playerid) == TEAM_ArmyRUS)
  {
    SendClientMessage(playerid,COLOR_RED, "[SERVER] Please choose another team so match will be balanced.");
    return 0;
  }
Reply


Messages In This Thread
[Help] Cant make a 4 team balancer... - by Saurik - 11.05.2010, 03:51
Re: [Help] Cant make a 4 team balancer... - by coole210 - 11.05.2010, 04:01
Re: [Help] Cant make a 4 team balancer... - by ViruZZzZ_ChiLLL - 11.05.2010, 04:26
Re: [Help] Cant make a 4 team balancer... - by [HiC]TheKiller - 11.05.2010, 04:43
Re: [Help] Cant make a 4 team balancer... - by Saurik - 11.05.2010, 11:16
Re: [Help] Cant make a 4 team balancer... - by Mikep. - 11.05.2010, 11:23
Re: [Help] Cant make a 4 team balancer... - by Saurik - 11.05.2010, 19:46
Re: [Help] Cant make a 4 team balancer... - by Zh3r0 - 11.05.2010, 20:08

Forum Jump:


Users browsing this thread: 1 Guest(s)