Ulysses

Ulysses Stuff => Suggestions => Topic started by: centran on December 04, 2012, 04:16:34 PM

Title: chat colors
Post by: centran on December 04, 2012, 04:16:34 PM
ability to change the color of the chat
something like...
Code: [Select]
ulx.fancyLogColor( ply, ulx.colors.red, "Hello", ulx.colors.blue, "World" )

and then it would print out Hello in the color red and World in the color blue.
Title: Re: chat colors
Post by: Megiddo on December 04, 2012, 07:24:04 PM
http://ulyssesmod.net/docs/files/lua/ulib/shared/messages-lua.html#tsayColor :)
Title: Re: chat colors
Post by: centran on December 04, 2012, 09:05:34 PM
how do you pass it colors?
Title: Re: chat colors
Post by: Megiddo on December 05, 2012, 05:51:12 AM
Using Garry's Color class: http://wiki.garrysmod.com/page/Structures/Color