Hello.
Maybe someone have or can write this function:
I have 8 teams (4 players in each), 32 players online. I need function to mix players in teams.
For example:
Code:
//First team (1, 10, 15, 25 - player index)
Player[1][iTeam] = 1;
Player[10][iTeam] = 1;
Player[15][iTeam] = 1;
Player[25][iTeam] = 1;
//Second team
Player[2][iTeam] = 2;
Player[6][iTeam] = 2;
Player[31][iTeam] = 2;
Player[11][iTeam] = 2;
If someone can help with this - please help me