Colors with y_text
#1

How do I add color to text with y_text ?

Код:
[TEST]
MSG1 = {X11_SNOW}test1 test2 test3
MSG11 = test1{X11_SNOW} test2 test3
MSG2 = {*X11_SNOW}test1 test2 test3{/}
MSG3 = {>X11_SNOW}test1 test2 test3{X11_SNOW}
None of these work.
Reply
#2

https://sampforum.blast.hk/showthread.php?tid=571165
Reply
#3

I have tried that but still no luck.

With:
Код:
Y_TEXT_ENTRY = Hi {ALICEBLUE}there
And:
Код:
Text_Send(playerid ,$Y_TEXT_ENTRY);
I get:
Код:
Hi ALICEBLUE}there
I'm using YSI 4.0 and
Код:
#include <YSI_Server\y_colours>
Reply
#4

I haven't used y_colors and y_text before but reading at another tutorial, it seems to be the correct way (at least your second post). About the code in your first post, make sure the "TEST" section is correct and try changing the color (for example {GOLD}) to see if the problem still persists. If it does, you better report it to YSI 4 thread or open an issue in github:

https://sampforum.blast.hk/showthread.php?tid=570884
https://github.com/Misiur/YSI-Includes
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)