21.06.2011, 15:06
pawn Код:
COMMAND:me(playerid, cmdtext)
{
new name[24], string[128];
if(sscanf(cmdtext, "s[128]", cmdtext)) return SendClientMessage(playerid, 0xFFFFFFAA, "/me <action>");
GetPlayerName(playerid, name, 24);
format(string, sizeof(string), "* %s %s ", name, cmdtext);
SendClientMessageToAll(0xFFFFFFAA, string);
return 1;
}