SA-MP Forums Archive
How to Convert - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: How to Convert (/showthread.php?tid=288474)



How to Convert - seanny - 07.10.2011

How do I Convery 0xFF6347AA to something like {00000}

Im confused, Please Help

Thanks


Re: How to Convert - Ash. - 07.10.2011

Take the first two characters (0x) away, along with the two final characters (AA). Then put what you have left in braces and you're done! Don't worry about what it is you're taking away, but make sure you do it!

Your actual output for the example you gave is:
{FF6347}