27.03.2011, 17:52
When you got your HEX color go on PAWNo editor at the top of your script where you define things.
Let's say you got this HEX color: B8E6E2 so you will type
Do you understand? you ad "0x" at the begining so B8E6E2 -> 0xB8E6E2 And "AA" at the end so
0xB8E6E2-> 0xB8E6E2AA Where AA is the alpha of the color (transparency) I hope I helped you.
Let's say you got this HEX color: B8E6E2 so you will type
pawn Код:
#define COLOR_AQUA (0xB8E6E2AA)
0xB8E6E2-> 0xB8E6E2AA Where AA is the alpha of the color (transparency) I hope I helped you.