04.07.2011, 21:16
I'm guessing you don't have 'return 0;' at the end of the OnPlayerCommandText code. Must be the very last line of the commands.
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if(!strcmp(cmdtext, "/mycommand", true))
{
//code
return 1;
}
return 0; // this is what your missing?
}