Help: SERVER: Unknown command
#2

Have you returned 0 at the end of your commands ?
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if (strcmp("/blah", cmdtext, true, 10) == 0)
    {
        //blah
        return 1;
    }
    if (strcmp("/blah2", cmdtext, true, 10) == 0)
    {
        //blah
        return 1;
    }
    return 0;//return 0 here...
}
Reply


Messages In This Thread
Help: SERVER: Unknown command - by Kostas' - 13.10.2011, 16:01
Re: Help: SERVER: Unknown command - by Stigg - 13.10.2011, 17:16
Re: Help: SERVER: Unknown command - by Kostas' - 13.10.2011, 17:52
Re: Help: SERVER: Unknown command - by FireCat - 13.10.2011, 17:53
Re: Help: SERVER: Unknown command - by Kostas' - 13.10.2011, 18:25

Forum Jump:


Users browsing this thread: 1 Guest(s)