SA-MP Forums Archive
Question - 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: Question (/showthread.php?tid=383015)



Question - Eugene. - 06.10.2012

Can anybody tell me what kind of colours I need to use for SetObjectMaterialText ?


Re: Question - V1ceC1ty - 06.10.2012

https://sampwiki.blast.hk/wiki/Colors_List
https://sampwiki.blast.hk/wiki/Hex_colors

Quote:

A chattext or player color looks like this 0xRRGGBBAA The RR is the red part of the color, the GG the green and the BB the blue. AA is the alphavalue. If you use FF there it will be displayed without transparency and if you put it to 00 it will be invisible.




Re: Question - Eugene. - 06.10.2012

Well. I have a small problem here. I wanted to make the text to be Red by using : 0xFF0000FF and is Blue!


Re: Question - V1ceC1ty - 06.10.2012

Try this: 0xFF0000AA


Re: Question - Eugene. - 06.10.2012

Blue.