Team Balancer
#1

Hello, i want to make a "Team balancer" for /join command


Код:
                       if(REDTEAMCOUNT == BLUETEAMCOUNT)
				{
				// Player Join in BLUE TEAM
				}
				if(REDTEAMCOUNT > BLUETEAMCOUNT)
				{
				// Player Join in BLUE TEAM
				}
				if(BLUETEAMCOUNT > REDTEAMCOUNT)
				{
				// Player Join in RED TEAM
				}
But it doens"t work..
I used the search function to look for something similar but nothing helped.
Reply
#2

Код:
if(REDTEAMCOUNT > BLUETEAMCOUNT)
{
	// Player Join in BLUE TEAM
}
if(BLUETEAMCOUNT >= REDTEAMCOUNT)
{
	// Player Join in RED TEAM
}
Reply
#3

same problem
Reply
#4

Can you show us more of your code? Make sure that you're adding 1 to the BLUETEAM and REDTEAM variable otherwise it won't work obviously.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)