mutiple colors in draw.SimpleText() or draw.DrawText()
4 replies, posted
how could i do something like this (brief sketch in paint)
https://files.facepunch.com/forum/upload/250297/cdef1b30-3322-45a2-81d5-244b3ba6cb4a/test.png
thanks
You'll have to split up the text and draw it part separately.There's also markup.Parse if that better suits your needs.
Id say i highly depends on where the text is supposed to be shown exacly. If its in the chat for the client only i suggest chat.AddText
because there you can define colors after every letter if you want..but if you want it on a surface like a hud or so the person over me is right.
In chat so can you give an example for chat @Trackster
Sorry, you need to Log In to post a reply to this thread.