25.08.2018, 06:54
Код:
new PlayersTeam1=0; new PlayersTeam2=0; if(PlayersTeam1 <= PlayersTeam2) { SetPlayerTeamA(playerid); } else if(PlayersTeam2 <= PlayersTeam1) { SetPlayerTeamB(playerid); } SetPlayerTeamA(playerid) { // codes for Team A PlayersTeam1++; } SetPlayerTeamB(playerid) { // codes for Team B PlayersTeam2++; }