06.10.2011, 18:24
This code: ( example )
is a replacement for
pawn Код:
for( new i; i < MAX_PLAYERS; i ++ )
{
if( IsPlayerConnected( i ) ) Kick( i );
}
pawn Код:
if( IsPlayerConnected( 0 ) ) Kick( 0 );
if( IsPlayerConnected( 1 ) ) Kick( 1 );
if( IsPlayerConnected( 2 ) ) Kick( 2 );
if( IsPlayerConnected( 3 ) ) Kick( 3 );
//etc
if( IsPlayerConnected( 499 ) ) Kick( 499 );