Quote:
Originally Posted by Rajat_Pawar
pawn Код:
for(new i = 0 ; i < MAX_PLAYERS; i ++ ) { if( IsPlayerConnected( i ) ) { if( i % 2 == 0 ) // Number is not odd == it is EVEN AND % operator returns remainder. { SetPlayerTeam( i , 1 ); continue; } else SetPlayerTeam( i , 2 ); } }
|
Nice, but where would this go? And it would check all id's? All even numbers to infinity?