commands
#1

How i can make it, if player have "CMD" = 1

that he can type no one command expect /help....

i can put this in each command, but can i do easier?:

pawn Code:
CMD:aaa(playerid, params[])
{
    if(GetPVarInt(playerid, "CMD") == 1)
    {
        SendClientMessage(playerid, -1, "You can only type /help!");
    }
    else
    {
    //my code goes here
    return 1;
}
and i must put that in each command, can it be some how easier?
Reply


Messages In This Thread
commands - by Speed - 24.08.2011, 07:50
Re: commands - by Horrible - 24.08.2011, 07:52
Re: commands - by =WoR=Varth - 24.08.2011, 07:52
Re: commands - by [HiC]TheKiller - 24.08.2011, 07:59
Re: commands - by =WoR=Varth - 24.08.2011, 08:11
Re: commands - by [HiC]TheKiller - 24.08.2011, 08:21
Re: commands - by =WoR=Varth - 24.08.2011, 08:32
Re: commands - by doreto - 24.08.2011, 08:37
Re: commands - by [HiC]TheKiller - 24.08.2011, 08:41
Re: commands - by =WoR=Varth - 24.08.2011, 08:41
Re: commands - by Lorenc_ - 24.08.2011, 08:44
Re: commands - by =WoR=Varth - 24.08.2011, 08:52
Re: commands - by Speed - 24.08.2011, 09:19
Re: commands - by Speed - 24.08.2011, 09:26
Re: commands - by [HiC]TheKiller - 24.08.2011, 09:37

Forum Jump:


Users browsing this thread: 2 Guest(s)