Posts: 60
	Threads: 13
	Joined: Nov 2016
	
Reputation: 
5
	 
 
	
	
		How to create texture, in which I will be able to write any text?
For example I want to create login/register panel using textures, how I can do it ?
	
	
	
	
	
 
 
	
	
	
		
	Posts: 569
	Threads: 49
	Joined: Oct 2015
	
Order: 
	 
 
	
	
		Draw, Texture.
For example 
local draw = Draw(2000, 2500, "Login : ");
local texture = Texture(1900, 2400, 1200, 2400, "MENU_INGAME.TGA");
function showLogin()
{
      draw.visible = true;
      texture.visible = true;
      draw.top(); 
}
	
	
	
	
	
 
 
	
	
	
		
	Posts: 60
	Threads: 13
	Joined: Nov 2016
	
Reputation: 
5
	 
 
	
		
		
		25.01.2018, 20:12 
(This post was last modified: 25.01.2018, 20:12 by Mattwell.)
	
	 
	
		So now I need to get when player click on texture, and then use OnKey to get inserted keys for update my draw?
	
	
	
	
	
 
 
	
	
	
		
	Posts: 569
	Threads: 49
	Joined: Oct 2015
	
Order: 
	 
 
	
	
		u need to create function that will check position draw and cursor position and if its equal then u just use onKey to change text in draw.
	
	
	
	
	
 
 
	
	
	
		
	Posts: 569
	Threads: 49
	Joined: Oct 2015
	
Order: 
	 
 
	
	
		i think there is no .. but i think u should start with something a bit easier to understand that GUI freamwork. U know..learn basics then start more advance things dog
	
	
	
	
	
 
 
	
	
	
		
	Posts: 194
	Threads: 22
	Joined: Feb 2016
	
Reputation: 
225
	 
 
	
	
		Well.. there was a wiki, but currently i'm not seeing any references to it. The only way to use this script is to understand what is going on in it. This can be difficult for you, as Quarchodron said, but you can try to analize the code, if you know Object Oriented Programming. If not, try to write something simpler (without GUI Framework).