18.03.2012, 07:59
pawn Код:
CMD:me(playerid, params[])
{
new string[128],msg[100],pname[MAX_PLAYER_NAME];
GetPlayerName(playerid,pname,sizeof(pname));
if(sscanf(params,"s[100]",msg)) return SendClientMessage(playerid,COLOR_RED, "USAGE: /me <text>");
format(string,sizeof(string),"*%s %s",pname,msg);
SendClientMessageToAll(COLOR_GREY,string);
return 1;
}