Teambalancer & NextMap help.
#6

Код:
for(new p = 0; p < GetMaxPlayers(); p++)
{
  if (gTeam[p] == TEAM_HOBO)
  {
    count1++;
      }
  else if (gTeam[p] == TEAM_RICH)
  {
    count2++;
  }
}
	if ((count1 > count2) && gTeam[playerid] == TEAM_HOBO)
  return SendClientMessage(playerid, COLOR_RED, "You've been switched to the other team to keep the teams even!");
  else if ((count2 > count1) && gTeam[playerid] == TEAM_RICH)
  return SendClientMessage(playerid, COLOR_RED, "You've been switched to the other team to keep the teams even!");
  return 1;
}
I came so far but now they will still be able to spawn, how can I disable that and force them to the other team?

If I try it gives me errors.
Reply


Messages In This Thread
Teambalancer & NextMap help. - by [dN]Eagle - 23.01.2010, 19:33
Re: Teambalancer & NextMap help. - by [dN]Eagle - 23.01.2010, 22:18
Re: Teambalancer & NextMap help. - by [dN]Eagle - 24.01.2010, 11:26
Re: Teambalancer & NextMap help. - by mansonh - 24.01.2010, 11:31
Re: Teambalancer & NextMap help. - by [dN]Eagle - 24.01.2010, 11:36
Re: Teambalancer & NextMap help. - by [dN]Eagle - 24.01.2010, 14:04
Re: Teambalancer & NextMap help. - by MadeMan - 24.01.2010, 14:21
Re: Teambalancer & NextMap help. - by [dN]Eagle - 24.01.2010, 14:26
Re: Teambalancer & NextMap help. - by MadeMan - 24.01.2010, 14:28
Re: Teambalancer & NextMap help. - by [dN]Eagle - 24.01.2010, 14:29

Forum Jump:


Users browsing this thread: 1 Guest(s)