public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp("/mycommand", cmdtext, true, 10) == 0) { // Do something here return 1; } return SendClientMessage(playerid,COR,"Esse comando nao existe!!"); }