24.05.2015, 02:36
Ok thank you but please help me if i want to do it like that, this doesn't work, can you fix it?
Код:
if(playerOnline >= 2) { if(GetTeamPlayersAlive(TEAM_RED) == 0) { TeamBalance(); } } if(playerOnline >= 4) { if(GetTeamPlayersAlive(TEAM_RED) == 1) { TeamBalance(); } } if(playerOnline >= 6) { if(GetTeamPlayersAlive(TEAM_RED) == 2) { TeamBalance(); } } if(playerOnline >= 8) { if(GetTeamPlayersAlive(TEAM_RED) == 3) { TeamBalance(); } }