players Commands
#10

Except the missing semicolon (which was my mistake) the other is yours.

pawn Код:
if( !IsPlayerConnected( i ) || if( IsPlayerAdmin( i )) continue;
You cannot use another if before you close it. So you want to send the message to only RCON admins, right?

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.
Also like the guys above said, add the semicolon!
Reply


Messages In This Thread
players Commands - by BoU3A - 07.10.2013, 11:17
Re: players Commands - by Konstantinos - 07.10.2013, 11:28
Re: players Commands - by x96664 - 07.10.2013, 11:29
Re: players Commands - by BoU3A - 08.10.2013, 12:38
Re: players Commands - by Konstantinos - 08.10.2013, 12:50
Re: players Commands - by iFiras - 08.10.2013, 12:55
Re: players Commands - by BoU3A - 09.10.2013, 11:42
Re: players Commands - by iFiras - 09.10.2013, 11:47
Re: players Commands - by TomatoRage - 09.10.2013, 11:48
Re: players Commands - by Konstantinos - 09.10.2013, 11:53

Forum Jump:


Users browsing this thread: 3 Guest(s)