SendClientMessage --> Only For Admin [HELP]
#1

Hi, i can't find this thing.

So I have /help command in wich normal player (not admin) can see all available commands. I know how to do that.

So it looks like:

pawn Код:
if (strcmp("/pomoc", cmdtext, true, 10) == 0)
        {
            SendClientMessage(playerid, 0xFFFFFFFF, "mycommands  xD");
        }
And now i want to do in next line SendClientMessage wich check if is admin on RCON login. If he is, he can see another line when he type /help like this:
pawn Код:
if (strcmp("/pomoc", cmdtext, true, 10) == 0)
        {
            SendClientMessage(playerid, 0xFFFFFFFF, "mycommands  xD");
            SendClientMessage(playerid, 0xFFFFFFFF, "ADMIN Cmds: i don't know how to do that thing");
        }
So i don't know how to do that second SendClientMessage , and that line must be only visible for RCON admins.
I mean if the player is /rcon login 55555 he can se this second SendClientMessage

Anyone can help me?
Reply


Messages In This Thread
SendClientMessage --> Only For Admin [HELP] - by ApachE - 02.05.2011, 17:38
Re: SendClientMessage --> Only For Admin [HELP] - by Max_Coldheart - 02.05.2011, 17:47
Re: SendClientMessage --> Only For Admin [HELP] - by ApachE - 02.05.2011, 17:52
Re: SendClientMessage --> Only For Admin [HELP] - by StreetGT - 02.05.2011, 17:54
Re: SendClientMessage --> Only For Admin [HELP] - by ApachE - 02.05.2011, 18:05
Re: SendClientMessage --> Only For Admin [HELP] - by Fj0rtizFredde - 02.05.2011, 18:08
Re: SendClientMessage --> Only For Admin [HELP] - by ApachE - 02.05.2011, 18:14
Re: SendClientMessage --> Only For Admin [HELP] - by linuxthefish - 02.05.2011, 18:17
Re: SendClientMessage --> Only For Admin [HELP] - by ApachE - 02.05.2011, 18:40
Re: SendClientMessage --> Only For Admin [HELP] - by Tee - 02.05.2011, 18:59

Forum Jump:


Users browsing this thread: 1 Guest(s)