Colored messgaes
#1

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

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.
Reply
#3

I'll give you an example:

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

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)
Reply
#5

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

http://www.colorpicker.com/
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)