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



Color Help - megamind2067 - 09.02.2013

Why is it that when I type the color code for red (0xFF0000) I end up getting the color bright green??


Re: Color Help - Jstylezzz - 09.02.2013

Not sure, but you can use this color include:
https://sampforum.blast.hk/showthread.php?tid=152174
With this, you won't have to write the colorcodes all time, with the risk of doing somtehing wrong, you can just write like, COLOR_RED.
I know this isn't really an answer to your question, but I thought that this might help you.


Re: Color Help - megamind2067 - 09.02.2013

ok thanks i'll try it. but if anyone else got an answer please let me know


Re: Color Help - Ballu Miaa - 09.02.2013

Go for this one, Replace yours with this one and try: 0xFF0000AA

SendClientMessage uses RGBA color format and i guess on fourms they use ARGB color format.


Re: Color Help - megamind2067 - 09.02.2013

thanks to the above answer