SA-MP Forums Archive
Colored messgaes - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Colored messgaes (/showthread.php?tid=196256)



Colored messgaes - DRIFT_HUNTER - 05.12.2010

Can anyone give me example how i can use colored text function in 0.3c?
I just dont get it....


Re: Colored messgaes - SpartanLegends - 05.12.2010

https://sampwiki.blast.hk/wiki/Colour_Embedding

There is an example there, if that does not explain it enough, post back and I will try to help.


Re: Colored messgaes - MrDeath537 - 05.12.2010

I'll give you an example:

pawn Код:
SendClientMessage(playerid, 0xFFFFFFFF, "{00FF00}Green {0000FF}Blue {FF0000}Red");



Re: Colored messgaes - DRIFT_HUNTER - 05.12.2010

Thx but if you use these its not working
pawn Код:
SendClientMessage(playerid, 0xFFFFFFFF, "These will fail {FF0000}Red");
Return in chat window is:
These will fail {FF00000}Red

(it will not change color)


Re: Colored messgaes - d0 - 05.12.2010

The color is in hex. You have to use 6 chars between the brackets not 7.

http://www.colorpicker.com/