Little help with Pawn.CMD
#1

Hey I was trying this command processor, but I've added this
PHP код:
public OnPlayerCommandPerformed(playeridcmd[], params[], resultflags){
    if(
P[playerid][Logged] == false)return 1;
    if(
P[playerid][IsSpawned] == false)return 1;
    if(
result == -1)  {
        
SendClientMessage(playerid0xff0000ff"*SERVER {ffffff}Unknown command. Please refer to /help");
        return 
0;
    }    
    return 
1;

and it isn't sending me a message about unkown cmds.
Thanks in advance!
Reply


Messages In This Thread
Little help with Pawn.CMD - by v1k1nG - 14.09.2018, 15:02
Re: Little help with Pawn.CMD - by Sithis - 14.09.2018, 15:04
Re: Little help with Pawn.CMD - by Undef1ned - 14.09.2018, 15:07
Re: Little help with Pawn.CMD - by v1k1nG - 14.09.2018, 15:19
Re: Little help with Pawn.CMD - by Undef1ned - 14.09.2018, 15:21
Re: Little help with Pawn.CMD - by v1k1nG - 14.09.2018, 15:36

Forum Jump:


Users browsing this thread: 1 Guest(s)