Blocking a command
#1

Well, i don't get this.

I have this:
pawn Код:
public OnPlayerCommandPerformed(playerid, cmdtext[], success)
{
    if(success)
    {
        if(pInEvent{playerid} == 1) return 0;
    }
    return 1;
}
The problem is that i can still use commands
And yes, i have 'pInEvent{playerid}' defined in the correct places.
Reply


Messages In This Thread
Blocking a command - by [L3th4l] - 03.01.2011, 01:25
Re: Blocking a command - by Scenario - 03.01.2011, 01:35
Re: Blocking a command - by [L3th4l] - 03.01.2011, 01:42
Re: Blocking a command - by bigcomfycouch - 03.01.2011, 01:52
Re: Blocking a command - by Sew_Sumi - 03.01.2011, 01:53
Re: Blocking a command - by iFriSki - 03.01.2011, 02:04
Re: Blocking a command - by [L3th4l] - 03.01.2011, 02:19
Re: Blocking a command - by leong124 - 03.01.2011, 03:21
Re: Blocking a command - by Sew_Sumi - 09.01.2011, 19:51
Re: Blocking a command - by John_F - 09.01.2011, 20:20

Forum Jump:


Users browsing this thread: 2 Guest(s)