converting Pawn to hex color
ppl say that you convert hex to pawn colors by adding an 0x at the beginning and an FF at the end, but how do I do the opposite? I want to convert specific pawn colors, so I don't want something like a color picker, I want to convert pawn colors to hex like: \x07830000
how do I convert that to a hexidecimal color? (programs like SA:MP color picker don't let you enter a value to convert, just to pick a color and it tells you the hex and pawn color of it.) p.s. that pawn color is red. any hex color that isn't red isn't that color. |
Re: converting Pawn to hex color
Is this Source related?
There is no special pawn color system. Simply drop the \x07 or \x08 from the front and then you have the hex value of the color. If you have 8 characters left, drop the last 2 as they are the Alpha values. |
| All times are GMT -4. The time now is 13:10. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.