SA-MP Forums Archive
how do i get coloured text in the middle of sentences - 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: how do i get coloured text in the middle of sentences (/showthread.php?tid=239712)



how do i get coloured text in the middle of sentences - Deal-or-die - 14.03.2011

Hey Fellow Scripters and Scriptees :P
I was just wondering how i would get coloured text in the middle of a sentence EG:

License: [Yes]
License: [No]
This Car belongs to [Deal-Or-Die]

Thanks A lot in advance
Steve




Re: how do i get coloured text in the middle of sentences - Markx - 14.03.2011

Codes here

pawn Код:
SendClientMessage(playerid, COLOR_BLUE, "{FF0000}This text is red! {FFFF00}This text is yellow!");



Re: how do i get coloured text in the middle of sentences - Deal-or-die - 14.03.2011

Cheers
Also Lol @ Colour_Blue {F0000} this is red
Also is there a list of Colours that can be used in chat some where?


Re: how do i get coloured text in the middle of sentences - Sasino97 - 14.03.2011

You can also use the "Text{HEX}Text" system in dialogs EDIT: and in 3D text labels.


Re: how do i get coloured text in the middle of sentences - Deal-or-die - 14.03.2011

Awww Siiiiick Thanks Both of you


Re: how do i get coloured text in the middle of sentences - Deal-or-die - 14.03.2011

Hmmm....
Should it look something like....
pawn Код:
SendClientMessage(playerid, YELLOW, "please visit our Forums {FF000}www.xxxxxxxxxx.com/forum");
Nevermind i fixed it! i missed a "0"


Re: how do i get coloured text in the middle of sentences - Sasino97 - 14.03.2011

Yes, but you have to put 6 Hex characters {FF0000} (You missed a zero)


Re: how do i get coloured text in the middle of sentences - Davz*|*Criss - 14.03.2011

Also you can use html colors.


Re: how do i get coloured text in the middle of sentences - bn102 - 23.03.2011

Quote:
Originally Posted by Davz*|*Criss
Посмотреть сообщение
Also you can use html colors.
Exactly, Hex....


Anyway, thanks for asking this question, i needed to know about it as well