02.08.2011, 20:43
pawn Код:
if(strcmp(cmdtext, "/me", true, 3) == 0)
{
new pname1[24], string[256];
GetPlayerName(playerid, pname1, 24);
format(string, 256, "* %s (%d) %s", pname1, playerid, cmdtext[4]);
SendClientMessageToAll(GetPlayerColor(playerid), string);
return 1;
}