A very petty string help.
#4

Quote:
Originally Posted by Ritzy
Посмотреть сообщение
Um, let's say the function is called x
Whatever the function is, it will get the color. But how do I apply the color to a specific word in the string like I can with hex code?
If your function return the color as the string, you can put it in your code like:
PHP код:
"blablabla {%s} blabla" 
If it's not a string but an integer or hex value, you should use 'x' specifier.
PHP код:
"blablabla {%06x} blabla" 
Reply


Messages In This Thread
A very petty string help. - by Ritzy2K - 18.11.2017, 08:55
Re: A very petty string help. - by Kraeror - 18.11.2017, 10:32
Re: A very petty string help. - by Ritzy2K - 18.11.2017, 10:56
Re: A very petty string help. - by Dayrion - 18.11.2017, 11:02
Re: A very petty string help. - by Ritzy2K - 18.11.2017, 11:14

Forum Jump:


Users browsing this thread: 1 Guest(s)