27.03.2013, 01:57
pawn Код:
CMD:me(playerid, params[])
{
new sendername[MAX_PLAYER_NAME], string[128];
GetPlayerName(playerid, sendername, sizeof(sendername));
sendername[strfind(sendername,"_")] = ' ';
if(isnull(params)) return SendClientMessage(playerid,LIGHTBLUE2,"USAGE: /me [action]");
format(string, sizeof(string), "*%s %s", sendername, params);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
return 1;
}