SA-MP Forums Archive
Pretty colooouuurrrsssss! - 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: Pretty colooouuurrrsssss! (/showthread.php?tid=269030)



Pretty colooouuurrrsssss! - City of Santos: Roleplay - 14.07.2011

Hey there!

I've noticed in a few scripts, you can change it so that on one line, different written context is different colours, for example:

Admins online:

The 'online' would be grey, yet the 'Admins' would be red. - How do I do this to certain parts of my script?


Re: Pretty colooouuurrrsssss! - Vero - 14.07.2011

SendClientMessage(playerid, COLOUR_RED, "Admins {colour code here}online );


Re: Pretty colooouuurrrsssss! - [P4] - 14.07.2011

Put HTML codes in front of the word you want to color.Example "{FF0000}Hellleeeeuu!!"

EDIT: HERE you can find some color codes. For more advanced colors use SA-MP colorpicker(Just ****** it)


Re: Pretty colooouuurrrsssss! - Toreno - 14.07.2011

Here is a good tutorial, have fun.
https://sampforum.blast.hk/showthread.php?tid=196360