24.09.2012, 14:27
pawn Код:
CMD:me(playerid, params[])
{
new name[MAX_PLAYER_NAME], str[128];
GetPlayerName(playerid, name, sizeof(name));
strreplace(name,'_',' ');
if(sscanf(params,"s[128]",str)) return SendClientMessage(playerid,COLOR_LIGHTGRAY,"USAGE: /me [action]");
format(str,sizeof(str),"*%s %s",name, params);
return 1;
}