SA-MP Forums Archive
RCON Admin Chat Only - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: RCON Admin Chat Only (/showthread.php?tid=65945)



RCON Admin Chat Only - Henrix - 17.02.2009

Hello,
I'm not working with any admin scripts in my server, but always with RCON admin commands.
But now, i wanna know how i can make a chat that only RCON admins can see.
So a command with // <text> that only the players who logged into RCON can see.
Would really like to know how i can make this.
Thanks!


Re: RCON Admin Chat Only - harrold - 17.02.2009

in onplayertext
pawn Код:
if(text[0] == '/' && text[1] == '/' & IsPlayerAdmin(playerid))
    {
      then here more
      return 0;
    }



Re: RCON Admin Chat Only - Henrix - 17.02.2009

ehm, yeh, but that's exactly what i wanna know.
what comes at the place at 'more'