OnPlayerCommandText not performed?
#1

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    print("execed1");
    if(strcmp("/tpse", cmdtext, true, 10) == 0) {
        print("execed2");
        if(GetPVarInt(playerid,"LoggedIn") == 0 && !IsPlayerAdmin(playerid)) {
            print("execed3");
            return DialogLogin(playerid);
        } else {
            print("execed4");
            return DialogMenu(playerid);
        }
        print("execed5");
        return 1;
    }
    print("execed6");
    return 0;
}
That's all. I have all the stocks, the PVars, but I don't get any of the execed, and I get "SERVER: Unknown Command.".
Wtf?

P.S.: This is a filterscript. I tried to reload it too..
Reply


Messages In This Thread
OnPlayerCommandText not performed? - by Seven_of_Nine - 23.05.2011, 15:09
Re: OnPlayerCommandText not performed? - by Seven_of_Nine - 23.05.2011, 15:31
Re: OnPlayerCommandText not performed? - by Seven_of_Nine - 23.05.2011, 15:53
Re: OnPlayerCommandText not performed? - by Toreno - 23.05.2011, 15:58
Re: OnPlayerCommandText not performed? - by Markx - 23.05.2011, 16:02
Re: OnPlayerCommandText not performed? - by Seven_of_Nine - 23.05.2011, 16:14

Forum Jump:


Users browsing this thread: 1 Guest(s)