Gothic Online Forums
[CLIENTSIDE/dev8] Color Draws - Printable Version

+- Gothic Online Forums (https://archive.gothic-online.com)
+-- Forum: Scripting (English) (https://archive.gothic-online.com/forum-11.html)
+--- Forum: Resources (https://archive.gothic-online.com/forum-14.html)
+---- Forum: Scripts (https://archive.gothic-online.com/forum-17.html)
+---- Thread: [CLIENTSIDE/dev8] Color Draws (/thread-2003.html)



[CLIENTSIDE/dev8] Color Draws - Osmith - 26.02.2017

This script will allow you to create draws with different colors.

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]


RE: [CLIENTSIDE/dev8] Color Draws - Sative - 26.02.2017

It should be implemented in G2O Core Wink In future ofc.


RE: [CLIENTSIDE/dev8] Color Draws - Bimbol - 26.02.2017

(26.02.2017, 17:29)Sative Wrote: It should be implemented in G2O Core Wink In future ofc.
It will be for sure, but for now there are other things to do Smile