10.08.2011, 15:21
pawn Код:
if(!strcmp(cmdtext, "/me", true, 3) && cmdtext[3] <= ' ')
{
new find = 3;
while(cmdtext[find] == ' ') find++;
if(!cmdtext[find]) return SendClientMessage(playerid, COLOR_RED, "Right Usage: \"/me\" [text]");
new str[128];
GetPlayerName(playerid, str, sizeof(str));
format(str, sizeof(str), "* %s %s", str, cmdtext[find]);
ProxDetector(170.0, playerid, str, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
return 1;
}