Change colour cmd /me
#9

I see no actual /me functions in there. To me that looks like a system for counting how many /me's you've done.

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;
}
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.
Reply


Messages In This Thread
Change colour cmd /me - by gondes - 16.09.2010, 09:54
Re: Change colour cmd /me - by Voldemort - 16.09.2010, 10:06
Re: Change colour cmd /me - by gondes - 16.09.2010, 10:17
Re: Change colour cmd /me - by Burridge - 16.09.2010, 10:23
Re: Change colour cmd /me - by gondes - 16.09.2010, 10:29
Re: Change colour cmd /me - by Burridge - 16.09.2010, 10:35
Re: Change colour cmd /me - by gondes - 16.09.2010, 10:38
Re: Change colour cmd /me - by gondes - 16.09.2010, 14:54
Re: Change colour cmd /me - by Burridge - 16.09.2010, 20:39

Forum Jump:


Users browsing this thread: 1 Guest(s)