nick color change
#1

hey, i need a help with my created command, that changes nick color, but when i type /tcolor 0xcc3333 (it's red) or whatever other hex color, it's sets to black.

pawn Код:
if(strcmp("/tcolor", cmdtext, true, 6) == 0)
{
           new coco[50];
           coco=strtok(cmdtext, idx);
            if (!strlen (coco))
                {
                SendClientMessage(playerid, 0xE6000055, "USE: /tcolour [COLOR(Example. 0xFFFF00AA]"); // Translated it to english :d
                }
            else
                {
               
                SetPlayerColor(playerid,strval(coco));
                }
                }
                return 1;
    }
so if you can help me, then please answer, i will appreciate it.
Reply


Messages In This Thread
nick color change - by fireboy - 23.03.2013, 17:25
Re: nick color change - by Misiur - 23.03.2013, 17:37
Re: nick color change - by fireboy - 23.03.2013, 17:58
AW: nick color change - by Nero_3D - 23.03.2013, 18:29
Re: nick color change - by Vince - 23.03.2013, 19:23
Re: AW: nick color change - by fireboy - 24.03.2013, 06:10
AW: Re: AW: nick color change - by Nero_3D - 24.03.2013, 11:12

Forum Jump:


Users browsing this thread: 1 Guest(s)