SA-MP Forums Archive
Multi color message,....How? - 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: Multi color message,....How? (/showthread.php?tid=335872)



Multi color message,....How? - Gooday - 20.04.2012

pawn Код:
SendClientMessage(playerid, COLOR_GREY, "License Status: {0xFF0000AA}INVALID");
In game I see:

"License Status: {0xFF0000AA}INVALID"

All grey, How to have the INVALID in red?


Re: Multi color message,....How? - Cjgogo - 20.04.2012

Don't count 0x and also the last 2 letters.Example :
pawn Код:
{FF0000}
instead of
pawn Код:
{0xFF0000AA}



Re: Multi color message,....How? - Universal Member - 20.04.2012

Quote:
Originally Posted by Cjgogo
Посмотреть сообщение
Don't count 0x and also the last 2 letters.Example :
pawn Код:
{FF0000}
instead of
pawn Код:
{0xFF0000AA}
right...
Red = {FF0000}
Код:
{FF0C0C}
{FF00C0}
{FFCCC0}
{FFCCCC}
{FF0000}
Make sure to use them in Caiptle words !


Re: Multi color message,....How? - BaubaS - 20.04.2012

Quote:
Originally Posted by Universal Member
Посмотреть сообщение
right...
Red = {FF0000}
Код:
{FF0C0C}
{FF00C0}
{FFCCC0}
{FFCCCC}
{FF0000}
Make sure to use them in Caiptle words !
There is no between capital and normal letters AFAIK.

IT: Use hex generator to generate hex colors