Changing Unknown Command
#3

There's nothong to explain about this, enjoy!
pawn Код:
public OnPlayerCommandPerformed(playerid, cmdtext[], success)
{
    if(!success) return SendClientMessage(playerid, -1, "Your Error Message here");
    return 1;
}
PS: you must return 1; if you're using ZCMD, because the command will still work but it will show you the error message
Reply


Messages In This Thread
Changing Unknown Command - by zrelly - 29.09.2013, 14:17
Re: Changing Unknown Command - by Wizzy951 - 29.09.2013, 14:21
Re: Changing Unknown Command - by Patrick - 29.09.2013, 14:34

Forum Jump:


Users browsing this thread: 1 Guest(s)