P
Phemus
Guest
I want to change text color of each text, I use draw_set_color(col) but it changes all text colors. Please help.
Do you mean color_get_value cause there is no code with "color", and color_get_value or color_get_green not working.}
else if cheat = "/owner
{
global.name = get_string("Your name","")
color = c_green;
}
else if cheat = "/gems"
{
global.gems = get_string("Gems amount","")
color = c_white;
}
DRAW EVENT
draw_set_color(color);
//What ever you what to show in that color
draw_set_color(black);
You need to set the color back to black after from drawing the text, otherwise it will effect everything else