09.10.2013, 11:53
Except the missing semicolon (which was my mistake) the other is yours.
You cannot use another if before you close it. So you want to send the message to only RCON admins, right?
Change to:
Also like the guys above said, add the semicolon!
pawn Код:
if( !IsPlayerConnected( i ) || if( IsPlayerAdmin( i )) continue;
Change to:
pawn Код:
if( !IsPlayerConnected( i ) || !IsPlayerAdmin( i ) ) continue;
// If the player is not connected or not an RCON admin, skip it and go to the next player.