Integer to Hex
#1

Hello,

i know this question is asked allot, but not in the way i use it..
i save every player color in an Int, but now i want to use the color to work inside a string(0.3c'ish)
so that supposed to be like: "{FF000000}etc.." but how can i convert my Integer color to a Hex color?

someone told me sscanf could do it, but how and can it?

Already thanks! this will realy help me!

if this isn't clear enough.. ill try explain more..
Reply


Messages In This Thread
Integer to Hex - by me-borno - 29.01.2011, 18:06
Re: Integer to Hex - by JaTochNietDan - 29.01.2011, 18:08
Re: Integer to Hex - by me-borno - 29.01.2011, 18:14
Re: Integer to Hex - by Superthijs - 05.02.2012, 08:33

Forum Jump:


Users browsing this thread: 3 Guest(s)