28.08.2011, 19:41
This is a better one
pawn Код:
CMD:me(playerid, params[])
{
new pName[MAX_PLAYER_NAME], string[128];
GetPlayerName(playerid, pName, sizeof(pName));
if(isnull(params)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /me [Action]");
format(string, sizeof(string), "* %s %s", pName, params);
SendClientMessageToAll(COLOR_WHITE,string);
return 1;
}