I don't have "Unknow command"
#2

Like this:
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if (strcmp("/mycommand", cmdtext, true, 10) == 0)
    {
        // Do something here
        return 1;
    }
    return SendClientMessage(playerid, color, "Unknow command, type /cmds to have a list of the commands");
}
Reply


Messages In This Thread
I don't have "Unknow command" - by ludesert - 25.06.2011, 08:31
Re: I don't have "Unknow command" - by xRyder - 25.06.2011, 08:33
Re : I don't have "Unknow command" - by ludesert - 25.06.2011, 09:10
Re: I don't have "Unknow command" - by [HiC]TheKiller - 25.06.2011, 09:26
Re: I don't have "Unknow command" - by Lorenc_ - 25.06.2011, 09:32
Re : I don't have "Unknow command" - by ludesert - 25.06.2011, 10:00
Re : I don't have "Unknow command" - by ludesert - 25.06.2011, 11:01

Forum Jump:


Users browsing this thread: 1 Guest(s)