stock GetOnlinePlayers ( ){ new Players; for ( new i = 0; i <MAX_PLAYERS; i++ ) { if ( IsPlayerConnected ( i ) ) { Players++; } } return Players;}
if ( GetOnlinePlayers( ) == 10 ) print( \"10 kátékos van a szerveren\" );