Player Color Question
#1

If i get my own color codes off http://www.colorpicker.com/ -- How can i add them to my script, ?
Reply
#2

Copy and paste the color and just add "0x" to the front.

Example: A3314D = 0xA3314D
Reply
#3

Hmm, when you pick a color, it should add this on the bar in the top ...
Like
PHP код:
#801933 
Now, just remove the #, add 0x at the first, then the Alpha of the hex ( FF, AA )

So it will be converted to

pawn Код:
#define My_NewColour 0x801933AA // or FF ( The last 2 characters )
Anyways, there are many other(s) color pickers for the hex ...... Search!

@ Pothead

I don't think so, because the format is

pawn Код:
#define myColour 0xRRGGBBAA
( Exception : 0.3c colors )

Tested with :

pawn Код:
#define testColour 0xFFFFFF
Results in Cyan ... ( AFAIK, I think I had that before )

pawn Код:
#define  testColour 0xFFFFFFAA
Results in White ...
Reply
#4

Thank's!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)