Hello all, I am trying to do the following:
I want to get the number of the players in the terrorist team, and then "split" them to two teams by setting bits.
For example:
PHP Code:
public splitThem()
{
new players[32], num, player;
get_players( players, num, "a" );
for( new i = 0; i < num; i++ )
{
player = players[i];
//For half the terrorists:
set_bit(team1, player);
//For the other half
set_bit(team1, player);
}
}
Do you know any way to do that ?
Thank you in advance