03.04.2015, 18:03
That's not needed, you can just use OnPlayerCommandReceived.
Where /mycommand is the only command you can use.
EDIT: Oops, posted at the same time.
Код:
public OnPlayerCommandReceived(playerid, cmdtext[])
{
if(strcmp(cmdtext, "/mycommand", true)) return 0;
return 1;
}
EDIT: Oops, posted at the same time.

