16.09.2010, 20:39
I see no actual /me functions in there. To me that looks like a system for counting how many /me's you've done.
This is my server's /me command. It's quite a lot different to yours. Look at mine, and see if you can make yours use ProxDetector.
pawn Код:
COMMAND:me(playerid, params[]) //me command
{
new Me[128], text2[128];
if(GetPVarInt(playerid, "Muted") == 1) return SendClientMessage(playerid,RED,"You can't talk because you are muted");
if(sscanf(params,"s",text2)) return SendClientMessage(playerid,0xFF0000AA,"USAGE: /me [Action]");
format(Me, sizeof(Me), "*%s %s", Name(playerid), text2);
ProxDetector(30.0, playerid, Me, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
printf("%s", Me);
return 1;
}