17.07.2011, 20:24
Try this:
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if(!strcmp(cmdtext, "/ame", true, 4)) // 3 is the length of /me
{
if(cmdtext[4] == 0) {
SendClientMessage(playerid, 0xFF0000FF, "USAGE: /ame [action]");
return 1;
}
//Yourchatbubblethings..
}
return 0;
}