This script will allow you to create draws with different colors.
Author: Osmith.
Script: click.
Functions:
Tutorial:
Example:
Example screenshot:
Author: Osmith.
Script: click.
Functions:
Code:
local draw = createColorDraw(x,y,font,text) // Create color draw
draw.show() // Show color draw
draw.hide() // Hide color draw
Tutorial:
Code:
In the text of draw you need to write the color you need in the form: /255.255.255 or /255.001.255 or /255.000.000.
Hello /255.255.000World!
The first word will be white (because if you have not set a color, white is default), and the second word will be yellow.
Example:
Code:
local draw1 = createColorDraw(1000,1000,"Font_Old_20_White_Hi.TGA","Welcome to the /255.255.000My Test Server");
local draw2 = createColorDraw(1000,1400,"Font_Old_10_White_Hi.TGA","/255.000.000T /255.255.255- open /255.255.000chat.");
draw1.show();
draw2.show();
Example screenshot:
![[Image: 8173ac684acd.png]](http://s019.radikal.ru/i618/1702/f2/8173ac684acd.png)