Help Making Admin Command
#5

I have this

public OnPlayerCommandText(playerid, cmdtext[])
{
if(IsPlayerAdmin(playerid))if (!strcmp(cmdtext, "/weapons", true))
if (!strcmp(cmdtext, "/weapons", true)) // checks if player typed /weapons
{
if(!IsPlayerAdmin(playerid)) // if not an rcon admin
{
SendClientMessage(playerid, -1, "You must be RCON Admin to use that command!"); //send message
} else {
// blahblahblah


But it dont work it just makes the if(IsPlayerAdmin(playerid)) pointless
Reply


Messages In This Thread
Help Making Admin Command - by Warren - 10.10.2011, 00:57
Re: Help Making Admin Command - by TheLazySloth - 10.10.2011, 01:03
Re: Help Making Admin Command - by Warren - 10.10.2011, 01:10
Re: Help Making Admin Command - by TheLazySloth - 10.10.2011, 01:11
Re: Help Making Admin Command - by Warren - 10.10.2011, 01:43
Re: Help Making Admin Command - by GrimR - 10.10.2011, 02:01
Re: Help Making Admin Command - by [HiC]TheKiller - 10.10.2011, 02:05
Re: Help Making Admin Command - by GrimR - 10.10.2011, 02:30
Re: Help Making Admin Command - by grand.Theft.Otto - 10.10.2011, 02:48
Re: Help Making Admin Command - by TheLazySloth - 10.10.2011, 02:58

Forum Jump:


Users browsing this thread: 1 Guest(s)