Color.
#1

Hello.

I have been looking for the purple color that is normally used for role-play in most servers, (/me /do etc) color. It is a shaded purple color but I seem to can't find it.

Anyone could help me please?
Reply
#2

Код:
#define COLOR_PURPLE 0xC2A2DAFF
there you go, a tip:
Next time, make a screenie (F, go to ur screens folder, open the picture with photoshop, use the color retriever tool or something like that, and get the RGB values. then download one of those many Sa-Mp color picker tools, put in the RGB values and there u go; a hex number.

Rep++ if I helped.
Reply
#3

After you defined COLOR_PURPLE

Код:
 if(!strcmp(cmdtext, "/me", true, 3))
    {
        if(!cmdtext[3])return SendClientMessage(playerid, COLOR_PURPLE, "Use /me [somthing here]");
        new str[128];
        GetPlayerName(playerid, str, sizeof(str));
        format(str, sizeof(str), "* %s %s", str, cmdtext[4]);
        SendClientMessageToAll(COLOR_PURPLE, str);
        return 1;
    }
Reply
#4

If it is purple, I'd rather try out this color here:

pawn Код:
#define COLOR_PURPLE 0x800080AA
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)