String with hex to pawn color
#7

Quote:
Originally Posted by Dreft
Prints 112233FF, i need 0x at beginning :/
Is it so hard to do it like this?

pawn Код:
new hex;
sscanf("0x112233FF", "x", hex);
printf("0x%x", hex);
Reply


Messages In This Thread
String with hex to pawn color - by Dreftas - 30.10.2009, 11:36
Re: String with hex to pawn color - by Zeex - 30.10.2009, 12:50
Re: String with hex to pawn color - by Dreftas - 30.10.2009, 13:15
Re: String with hex to pawn color - by Dreftas - 30.10.2009, 13:28
Re: String with hex to pawn color - by Finn - 30.10.2009, 13:31
Re: String with hex to pawn color - by Dreftas - 30.10.2009, 13:41
Re: String with hex to pawn color - by Correlli - 30.10.2009, 13:49
Re: String with hex to pawn color - by Dreftas - 30.10.2009, 14:23

Forum Jump:


Users browsing this thread: 4 Guest(s)