29.12.2011, 17:48
pawn Код:
dcmd_me(playerid,params[])
{
if(isnull(params)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /me [action]");
new str[128],name[24];
GetPlayerName(playerid, name, sizeof(name));
format(str, sizeof(str), "**%s %s", name, params);
SendClientMessageToAll(COLOR_YELLOW, str);
format(str,sizeof str,"3,0: %s",str);
IRC_GroupSay(IRC_Group, EchoChan,str);
return 1;
}