12.07.2011, 15:32
Hello guys,
Does anybody of you know how I can convert (by a pawn script) the HEX code to ARGB?
Ex:
I have: 0xFF0000FF
This should be converted into:
Red = 255
Green = 0
Blue = 0
Alpha = 255
I hope you understand my question, and I hope that someone can help me with this.
Thank you.
Jeffry
Does anybody of you know how I can convert (by a pawn script) the HEX code to ARGB?
Ex:
I have: 0xFF0000FF
This should be converted into:
Red = 255
Green = 0
Blue = 0
Alpha = 255
I hope you understand my question, and I hope that someone can help me with this.
Thank you.
Jeffry
