SA-MP Forums Archive
Converting car colors into hex? - 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: Converting car colors into hex? (/showthread.php?tid=300530)



Converting car colors into hex? - OFirst - 30.11.2011

how can i convert a car color number into a hex (0xRRGGBBAA) color?


Re: Converting car colors into hex? - Mattos - 30.11.2011

Use the program Cpick... then you take the target and aim to the color at your screen... you will get something like that #XXXXXX then you transforme like this: 0xXXXXXXAA


http://cpick.en.softonic.com/


Re: Converting car colors into hex? - OFirst - 30.11.2011

Quote:
Originally Posted by Mateuscm
Посмотреть сообщение
Use the program Cpick... then you take the target and aim to the color at your screen... you will get something like that #XXXXXX then you transforme like this: 0xXXXXXXAA


http://cpick.en.softonic.com/
Nгo querido nгo й disso que eu preciso releia o post.


Re: Converting car colors into hex? - X3nZ - 30.11.2011

Quote:
Originally Posted by OFirst
Посмотреть сообщение
Nгo querido nгo й disso que eu preciso releia o post.
English only forum bud.


Re: Converting car colors into hex? - Mattos - 30.11.2011

Quote:
Originally Posted by X3nZ
Посмотреть сообщение
English only forum bud.
True...


And thats what you want... Just download the program test it then come here and say if thats or not what you want


Re: Converting car colors into hex? - MP2 - 30.11.2011

http://instant-eyedropper.com/


Re: Converting car colors into hex? - OFirst - 30.11.2011

but is there a function that can do that?


Re: Converting car colors into hex? - Mattos - 30.11.2011

No dude...


Re: Converting car colors into hex? - OFirst - 30.11.2011

someone?


Re: Converting car colors into hex? - Rob_Maate - 30.11.2011

You could spend a bit of time writing a function that returns a hex value if the user specifies a certain color, but no it's not been written before.