<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.multitheftauto.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Ridden</id>
	<title>Multi Theft Auto: Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.multitheftauto.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Ridden"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/wiki/Special:Contributions/Ridden"/>
	<updated>2026-04-20T20:49:29Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=CustomMemoBox.create&amp;diff=67770</id>
		<title>CustomMemoBox.create</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=CustomMemoBox.create&amp;diff=67770"/>
		<updated>2020-11-20T14:48:07Z</updated>

		<summary type="html">&lt;p&gt;Ridden: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Client function}}&lt;br /&gt;
This function creates Memo Box. &lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
ctbox CustomMemoBox.create(float X, float Y, float Width, float Height,string Title, [bool Relative, cw-element Parent])&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Required Arguments === &lt;br /&gt;
*'''X'''  - Position on X axis on screen of widget&lt;br /&gt;
*'''Y'''  - Position on Y axis on screen of widget&lt;br /&gt;
*'''Width''' - Width of widget&lt;br /&gt;
*'''Height''' - Height of widget&lt;br /&gt;
&lt;br /&gt;
=== Other Arguments === &lt;br /&gt;
*'''Relative''' - Relative of coordinates and size (if false, position and size will be absolute). Default - ''false''.&lt;br /&gt;
*'''Parent''' - CW Element of parent or Window Object. Default - ''nil''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Returns ===&lt;br /&gt;
Creates Memo Box and returns object of class CustomMemoBox.	&lt;br /&gt;
[[File:Capture.PNG|thumb|right]] &lt;br /&gt;
== Example ==&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
CustomMemoBox.create(300,300,200,200,&amp;quot;Hello my name is Ridden&amp;quot;)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Rights : Digital/Ridden&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
{{CWSFUNCS}}&lt;/div&gt;</summary>
		<author><name>Ridden</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=CustomTextBox.create&amp;diff=67769</id>
		<title>CustomTextBox.create</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=CustomTextBox.create&amp;diff=67769"/>
		<updated>2020-11-20T14:47:31Z</updated>

		<summary type="html">&lt;p&gt;Ridden: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Client function}}&lt;br /&gt;
This function creates Text Box. &lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
ctbox CustomTextBox.create(float X, float Y, float Width, float Height,string Title, [bool Relative, cw-element Parent,bool mlined])&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Required Arguments === &lt;br /&gt;
*'''X'''  - Position on X axis on screen of widget&lt;br /&gt;
*'''Y'''  - Position on Y axis on screen of widget&lt;br /&gt;
*'''Width''' - Width of widget&lt;br /&gt;
*'''Height''' - Height of widget&lt;br /&gt;
&lt;br /&gt;
=== Other Arguments === &lt;br /&gt;
*'''Relative''' - Relative of coordinates and size (if false, position and size will be absolute). Default - ''false''.&lt;br /&gt;
*'''Parent''' - CW Element of parent or Window Object. Default - ''nil''.&lt;br /&gt;
*'''mlined''' - I don't know xD ;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Returns ===&lt;br /&gt;
Creates Text Box and returns object of class CustomTextBox.	&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
[[File:Capture.PNG|thumb|right]] &lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
CustomTextBox.create(300,300,200,200,&amp;quot;Hello my name is Ridden&amp;quot;)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Rights : Digital/Ridden&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
{{CWSFUNCS}}&lt;/div&gt;</summary>
		<author><name>Ridden</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=CustomTextBox.create&amp;diff=67768</id>
		<title>CustomTextBox.create</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=CustomTextBox.create&amp;diff=67768"/>
		<updated>2020-11-20T14:46:37Z</updated>

		<summary type="html">&lt;p&gt;Ridden: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Client function}}&lt;br /&gt;
This function creates Text Box. &lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
ctbox CustomTextBox.create(float X, float Y, float Width, float Height,string Title, [bool Relative, cw-element Parent,bool mlined])&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Required Arguments === &lt;br /&gt;
*'''X'''  - Position on X axis on screen of widget&lt;br /&gt;
*'''Y'''  - Position on Y axis on screen of widget&lt;br /&gt;
*'''Width''' - Width of widget&lt;br /&gt;
*'''Height''' - Height of widget&lt;br /&gt;
&lt;br /&gt;
=== Other Arguments === &lt;br /&gt;
*'''Relative''' - Relative of coordinates and size (if false, position and size will be absolute). Default - ''false''.&lt;br /&gt;
*'''Parent''' - CW Element of parent or Window Object. Default - ''nil''.&lt;br /&gt;
*'''mlined''' - I don't know xD ;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Returns ===&lt;br /&gt;
Creates Text Box and returns object of class CustomTextBox.	&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
[[File:Capture.PNG]]&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
CustomTextBox.create(300,300,200,200,&amp;quot;Hello my name is Ridden&amp;quot;)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Rights : Digital/Ridden&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
{{CWSFUNCS}}&lt;/div&gt;</summary>
		<author><name>Ridden</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=CustomTextBox.create&amp;diff=67767</id>
		<title>CustomTextBox.create</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=CustomTextBox.create&amp;diff=67767"/>
		<updated>2020-11-20T14:45:38Z</updated>

		<summary type="html">&lt;p&gt;Ridden: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Client function}}&lt;br /&gt;
This function creates Text Box. &lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
ctbox CustomTextBox.create(float X, float Y, float Width, float Height,string Title, [bool Relative, cw-element Parent,bool mlined])&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Required Arguments === &lt;br /&gt;
*'''X'''  - Position on X axis on screen of widget&lt;br /&gt;
*'''Y'''  - Position on Y axis on screen of widget&lt;br /&gt;
*'''Width''' - Width of widget&lt;br /&gt;
*'''Height''' - Height of widget&lt;br /&gt;
&lt;br /&gt;
=== Other Arguments === &lt;br /&gt;
*'''Relative''' - Relative of coordinates and size (if false, position and size will be absolute). Default - ''false''.&lt;br /&gt;
*'''Parent''' - CW Element of parent or Window Object. Default - ''nil''.&lt;br /&gt;
*'''mlined''' - I don't know xD ;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Returns ===&lt;br /&gt;
Creates Text Box and returns object of class CustomTextBox.	&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
[[File:Capture.png]]&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
CustomTextBox.create(300,300,200,200,&amp;quot;Hello my name is Ridden&amp;quot;)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Rights : Digital/Ridden&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
{{CWSFUNCS}}&lt;/div&gt;</summary>
		<author><name>Ridden</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=File:Capture.PNG&amp;diff=67766</id>
		<title>File:Capture.PNG</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=File:Capture.PNG&amp;diff=67766"/>
		<updated>2020-11-20T14:41:36Z</updated>

		<summary type="html">&lt;p&gt;Ridden: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Ridden</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=CustomMemoBox.create&amp;diff=67765</id>
		<title>CustomMemoBox.create</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=CustomMemoBox.create&amp;diff=67765"/>
		<updated>2020-11-20T14:23:45Z</updated>

		<summary type="html">&lt;p&gt;Ridden: Created page with &amp;quot;__NOTOC__ {{Client function}} This function creates Memo Box.   == Syntax == &amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt; ctbox CustomMemoBox.create(float X, float Y, float Width, float Heigh...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Client function}}&lt;br /&gt;
This function creates Memo Box. &lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
ctbox CustomMemoBox.create(float X, float Y, float Width, float Height,string Title, [bool Relative, cw-element Parent])&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Required Arguments === &lt;br /&gt;
*'''X'''  - Position on X axis on screen of widget&lt;br /&gt;
*'''Y'''  - Position on Y axis on screen of widget&lt;br /&gt;
*'''Width''' - Width of widget&lt;br /&gt;
*'''Height''' - Height of widget&lt;br /&gt;
&lt;br /&gt;
=== Other Arguments === &lt;br /&gt;
*'''Relative''' - Relative of coordinates and size (if false, position and size will be absolute). Default - ''false''.&lt;br /&gt;
*'''Parent''' - CW Element of parent or Window Object. Default - ''nil''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Returns ===&lt;br /&gt;
Creates Memo Box and returns object of class CustomMemoBox.	&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
CustomMemoBox.create(300,300,200,200,&amp;quot;Hello my name is Ridden&amp;quot;)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Rights : Digital/Ridden&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
{{CWSFUNCS}}&lt;/div&gt;</summary>
		<author><name>Ridden</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=CustomTextBox.create&amp;diff=67764</id>
		<title>CustomTextBox.create</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=CustomTextBox.create&amp;diff=67764"/>
		<updated>2020-11-20T14:22:04Z</updated>

		<summary type="html">&lt;p&gt;Ridden: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Client function}}&lt;br /&gt;
This function creates Text Box. &lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
ctbox CustomTextBox.create(float X, float Y, float Width, float Height,string Title, [bool Relative, cw-element Parent,bool mlined])&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Required Arguments === &lt;br /&gt;
*'''X'''  - Position on X axis on screen of widget&lt;br /&gt;
*'''Y'''  - Position on Y axis on screen of widget&lt;br /&gt;
*'''Width''' - Width of widget&lt;br /&gt;
*'''Height''' - Height of widget&lt;br /&gt;
&lt;br /&gt;
=== Other Arguments === &lt;br /&gt;
*'''Relative''' - Relative of coordinates and size (if false, position and size will be absolute). Default - ''false''.&lt;br /&gt;
*'''Parent''' - CW Element of parent or Window Object. Default - ''nil''.&lt;br /&gt;
*'''mlined''' - I don't know xD ;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Returns ===&lt;br /&gt;
Creates Text Box and returns object of class CustomTextBox.	&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
CustomTextBox.create(300,300,200,200,&amp;quot;Hello my name is Ridden&amp;quot;)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Rights : Digital/Ridden&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
{{CWSFUNCS}}&lt;/div&gt;</summary>
		<author><name>Ridden</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=CustomTextBox.create&amp;diff=67763</id>
		<title>CustomTextBox.create</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=CustomTextBox.create&amp;diff=67763"/>
		<updated>2020-11-20T14:21:34Z</updated>

		<summary type="html">&lt;p&gt;Ridden: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Client function}}&lt;br /&gt;
This function creates Text Box. &lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
ctbox CustomTextBox.create(float X, float Y, float Width, float Height,string Title, [bool Relative, cw-element Parent,bool mlined])&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Required Arguments === &lt;br /&gt;
*'''X'''  - Position on X axis on screen of widget&lt;br /&gt;
*'''Y'''  - Position on Y axis on screen of widget&lt;br /&gt;
*'''Width''' - Width of widget&lt;br /&gt;
*'''Height''' - Height of widget&lt;br /&gt;
&lt;br /&gt;
=== Other Arguments === &lt;br /&gt;
*'''Relative''' - Relative of coordinates and size (if false, position and size will be absolute). Default - ''false''.&lt;br /&gt;
*'''Parent''' - CW Element of parent or Window Object. Default - ''nil''.&lt;br /&gt;
*'''mlined''' - I don't know xD ;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Returns ===&lt;br /&gt;
Creates Text Box and returns object of class CustomTextBox.	&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
CustomMemoBox.create(300,300,200,200,&amp;quot;Hello my name is Ridden&amp;quot;)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Rights : Digital/Ridden&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
{{CWSFUNCS}}&lt;/div&gt;</summary>
		<author><name>Ridden</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=CustomTextBox.create&amp;diff=67762</id>
		<title>CustomTextBox.create</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=CustomTextBox.create&amp;diff=67762"/>
		<updated>2020-11-20T14:21:00Z</updated>

		<summary type="html">&lt;p&gt;Ridden: Created page with &amp;quot;__NOTOC__ {{Client function}} This function creates Text Box.   == Syntax == &amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt; ctbox CustomTextBox.create(float X, float Y, float Width, float Heigh...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Client function}}&lt;br /&gt;
This function creates Text Box. &lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
ctbox CustomTextBox.create(float X, float Y, float Width, float Height,string Title, [bool Relative, cw-element Parent,bool mlined])&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Required Arguments === &lt;br /&gt;
*'''X'''  - Position on X axis on screen of widget&lt;br /&gt;
*'''Y'''  - Position on Y axis on screen of widget&lt;br /&gt;
*'''Width''' - Width of widget&lt;br /&gt;
*'''Height''' - Height of widget&lt;br /&gt;
&lt;br /&gt;
=== Other Arguments === &lt;br /&gt;
*'''Relative''' - Relative of coordinates and size (if false, position and size will be absolute). Default - ''false''.&lt;br /&gt;
*'''Parent''' - CW Element of parent or Window Object. Default - ''nil''.&lt;br /&gt;
*'''mlined''' - I don't know xD ;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Returns ===&lt;br /&gt;
Creates Text Box and returns object of class CustomTextBox.	&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
CustomMemoBox.create(300,300,200,200,&amp;quot;Hello my name is Ridden&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Rights : Digital/Ridden&lt;br /&gt;
== See Also ==&lt;br /&gt;
{{CWSFUNCS}}&lt;/div&gt;</summary>
		<author><name>Ridden</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Resource:CustomWidgets&amp;diff=67761</id>
		<title>Resource:CustomWidgets</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Resource:CustomWidgets&amp;diff=67761"/>
		<updated>2020-11-20T13:54:23Z</updated>

		<summary type="html">&lt;p&gt;Ridden: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Resource page}}&lt;br /&gt;
&lt;br /&gt;
[[Image:CustomWidgetsDemo.png|400px|thumb|right|Example of Custom Widgets]]&lt;br /&gt;
[[Image:WindowAnimation.gif|400px|thumb|right|Animation (GIF) of changing Themes of Custom Widgets]]&lt;br /&gt;
[[Image:AnotherCustomWidgets.png|400px|thumb|right|Another windows from Demo Widgets]]&lt;br /&gt;
&lt;br /&gt;
This resource adding Custom Widget system, where you can create your own GUI-forms in one minimalistic visual style.&lt;br /&gt;
&lt;br /&gt;
'''Author''': [https://forum.mtasa.com/profile/39663-ariosjentu/ AriosJentu]&lt;br /&gt;
&lt;br /&gt;
'''Resource''': [https://forum.mtasa.com/topic/103782-rel-custom-gui-widget-system MTA SA Forums]&lt;br /&gt;
&lt;br /&gt;
'''Resource's GitHub''': [https://github.com/AriosJentu/LuaWinSys GitHub]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Information ==&lt;br /&gt;
&lt;br /&gt;
Any questions about using this resource you can ask on Forums in ''Resource's topic'', or in ''PM'', or using ''Telegram'': ''@AriosJentu''.&lt;br /&gt;
Now I'm available in '''''Discord''''': ''@AriosJentu#4544''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
[https://www.youtube.com/watch?v=YwwkFubC2No&amp;amp;feature=youtu.be '''''Click here to see Video YouTube explanation''''']&lt;br /&gt;
&lt;br /&gt;
First - download archive, unpack it in ''resources'' folder of your server.&lt;br /&gt;
&lt;br /&gt;
Next step is changing parent ''resourcename'' in file ''win.lua'' - first variable ('''CONTENT = &amp;quot;''resorcename''&amp;quot;'''). Set it to this folder name. This is needed for files, what located in this resource.&lt;br /&gt;
&lt;br /&gt;
To use this resource in your developments, '''copy''' ''win.lua'' in directory of your own resource, put it on first position of scripts in '''''meta.xml''''', and run both resources - resource with files, what you already unpacked (firstly), and resource, where you using this system.&lt;br /&gt;
&lt;br /&gt;
Make sure, that tag '''''oop''''' in '''meta.xml''' is ''true''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Functions ==&lt;br /&gt;
{{CWSFUNCS}}&lt;/div&gt;</summary>
		<author><name>Ridden</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=CustomStaticImage.create&amp;diff=67760</id>
		<title>CustomStaticImage.create</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=CustomStaticImage.create&amp;diff=67760"/>
		<updated>2020-11-20T13:51:22Z</updated>

		<summary type="html">&lt;p&gt;Ridden: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Client function}}&lt;br /&gt;
This function creates an static image .&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
cimage CustomStaticImage.create(float X, float Y, float Width, float Height, string Location, [bool Relative, CW-element Parent])&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
&lt;br /&gt;
*'''X:''' A float of the 2D x position of the image on a player's screen.&lt;br /&gt;
*'''Y:''' A float of the 2D y position of the image on a player's screen.&lt;br /&gt;
*'''Width:''' A float of the width of the image. &lt;br /&gt;
*'''Height:''' A float of the height of the image.&lt;br /&gt;
*'''Location:''' A string of texture path.&lt;br /&gt;
&lt;br /&gt;
===Optional Arguments=== &lt;br /&gt;
{{OptionalArg}} &lt;br /&gt;
*'''Relative:''' A boolean of whether sizes and positioning are relative.&lt;br /&gt;
*'''parent:''' This is the parent that the image is attached to.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns [[element]] if image was created successfully, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
This example will display a image on player's screen.&lt;br /&gt;
&amp;lt;section name=&amp;quot;Client-side&amp;quot; class=&amp;quot;client&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
CustomStaticImage.create(100,100,200,200,&amp;quot;image.png&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
Right:Digital/Ridden&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
{{CWSFUNCS}}&lt;/div&gt;</summary>
		<author><name>Ridden</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=CustomStaticImage.create&amp;diff=67759</id>
		<title>CustomStaticImage.create</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=CustomStaticImage.create&amp;diff=67759"/>
		<updated>2020-11-20T13:50:11Z</updated>

		<summary type="html">&lt;p&gt;Ridden: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Client function}}&lt;br /&gt;
This function creates an static image .&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
cimage CustomStaticImage.create(float X, float Y, float Width, float Height, string Location, [bool Relative, CW-element Parent])&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
&lt;br /&gt;
*'''X:''' A float of the 2D x position of the image on a player's screen.&lt;br /&gt;
*'''Y:''' A float of the 2D y position of the image on a player's screen.&lt;br /&gt;
*'''Width:''' A float of the width of the image. &lt;br /&gt;
*'''Height:''' A float of the height of the image.&lt;br /&gt;
*'''Location:''' A string of texture path.&lt;br /&gt;
&lt;br /&gt;
===Optional Arguments=== &lt;br /&gt;
{{OptionalArg}} &lt;br /&gt;
*'''Relative:''' A boolean of whether sizes and positioning are relative.&lt;br /&gt;
*'''parent:''' This is the parent that the image is attached to.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns [[element]] if image was created successfully, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
This example will display a rectangle on the player's screen.&lt;br /&gt;
&amp;lt;section name=&amp;quot;Client-side&amp;quot; class=&amp;quot;client&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
CustomStaticImage.create(100,100,200,200,&amp;quot;image.png&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
Right:Digital/Ridden&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
{{CWSFUNCS}}&lt;/div&gt;</summary>
		<author><name>Ridden</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=CustomStaticImage.create&amp;diff=67758</id>
		<title>CustomStaticImage.create</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=CustomStaticImage.create&amp;diff=67758"/>
		<updated>2020-11-20T13:49:37Z</updated>

		<summary type="html">&lt;p&gt;Ridden: Created page with &amp;quot;__NOTOC__  {{Client function}} This function creates an static image .  ==Syntax==  &amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt; cimage CustomStaticImage.create(float X, float Y, float Width,...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Client function}}&lt;br /&gt;
This function creates an static image .&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
cimage CustomStaticImage.create(float X, float Y, float Width, float Height, string Location, [bool Relative, CW-element Parent])&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
&lt;br /&gt;
*'''X:''' A float of the 2D x position of the image on a player's screen.&lt;br /&gt;
*'''Y:''' A float of the 2D y position of the image on a player's screen.&lt;br /&gt;
*'''Width:''' A float of the width of the image. &lt;br /&gt;
*'''Height:''' A float of the height of the image.&lt;br /&gt;
*'''Location:''' A string of texture path.&lt;br /&gt;
&lt;br /&gt;
===Optional Arguments=== &lt;br /&gt;
{{OptionalArg}} &lt;br /&gt;
*'''Relative:''' A boolean of whether sizes and positioning are relative.&lt;br /&gt;
*'''parent:''' This is the parent that the image is attached to.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns [[element]] if image was created successfully, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
This example will display a rectangle on the player's screen.&lt;br /&gt;
&amp;lt;section name=&amp;quot;Client-side&amp;quot; class=&amp;quot;client&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
CustomStaticImage.create(100,100,200,200,&amp;quot;image.png&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
Right:Digital/Ridden&lt;br /&gt;
==See Also==&lt;br /&gt;
{{DGSFUNCTIONS}}&lt;/div&gt;</summary>
		<author><name>Ridden</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=CustomWindow:getSizable&amp;diff=67757</id>
		<title>CustomWindow:getSizable</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=CustomWindow:getSizable&amp;diff=67757"/>
		<updated>2020-11-20T13:37:57Z</updated>

		<summary type="html">&lt;p&gt;Ridden: Created page with &amp;quot;__NOTOC__ {{Client function}} This function gets sizable status of Custom Window.  == Syntax == &amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt; bool CustomWindow:getSizable() &amp;lt;/syntaxhighlight&amp;gt;...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Client function}}&lt;br /&gt;
This function gets sizable status of Custom Window.&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool CustomWindow:getSizable()&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Returns ===&lt;br /&gt;
Returns sizable status of Custom Window. &lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
This example creates a window and gets his movable status :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
local Window = CustomWindow.create(50, 50, 200, 150, &amp;quot;Hello World&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
Window:getSizable() -- returns 'false' by default&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Rights: Digital/Ridden&lt;br /&gt;
== See Also ==&lt;br /&gt;
{{CWSFUNCS}}&lt;/div&gt;</summary>
		<author><name>Ridden</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=CustomWindow:setSizable&amp;diff=67756</id>
		<title>CustomWindow:setSizable</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=CustomWindow:setSizable&amp;diff=67756"/>
		<updated>2020-11-20T13:33:00Z</updated>

		<summary type="html">&lt;p&gt;Ridden: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Client function}}&lt;br /&gt;
This function set Custom Window available for sizing on screen with mouse .&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
nil CustomWindow:setSizable([bool Sizable])&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Other Arguments === &lt;br /&gt;
*'''Sizable''' - Boolean value of state for window of Sizable . Default - ''false'' (not sizable)&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
This example creates window, and disables its sizing:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
local Window = CustomWindow.create(50, 50, 200, 150, &amp;quot;Example&amp;quot;)&lt;br /&gt;
Window:setSizable(false)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Rights : Ridden/Digital&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
{{CWSFUNCS}}&lt;/div&gt;</summary>
		<author><name>Ridden</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=CustomWindow:setSizable&amp;diff=67755</id>
		<title>CustomWindow:setSizable</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=CustomWindow:setSizable&amp;diff=67755"/>
		<updated>2020-11-20T13:31:46Z</updated>

		<summary type="html">&lt;p&gt;Ridden: Created page with &amp;quot;__NOTOC__ {{Client function}} This function set Custom Window available for sizing on screen with mouse (makes window '(not)' sizable).  == Syntax == &amp;lt;syntaxhighlight lang=&amp;quot;lu...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Client function}}&lt;br /&gt;
This function set Custom Window available for sizing on screen with mouse (makes window '(not)' sizable).&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
nil CustomWindow:setSizable([bool Sizable])&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Other Arguments === &lt;br /&gt;
*'''Sizable''' - Boolean value of state for window of Sizable . Default - ''false'' (not sizable)&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
This example creates window, and disables its sizing:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
local Window = CustomWindow.create(50, 50, 200, 150, &amp;quot;Example&amp;quot;)&lt;br /&gt;
Window:setSizable(false)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
{{CWSFUNCS}}&lt;/div&gt;</summary>
		<author><name>Ridden</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=DgsSetProperties&amp;diff=53261</id>
		<title>DgsSetProperties</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=DgsSetProperties&amp;diff=53261"/>
		<updated>2018-01-02T16:45:29Z</updated>

		<summary type="html">&lt;p&gt;Ridden: Blanked the page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Ridden</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=DgsSetProperties&amp;diff=53260</id>
		<title>DgsSetProperties</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=DgsSetProperties&amp;diff=53260"/>
		<updated>2018-01-02T16:38:54Z</updated>

		<summary type="html">&lt;p&gt;Ridden: Created page with &amp;quot;{{Client function}} __NOTOC__ This function sets the value of a specific property of a DGS element. For a list of properties and their meaning, see the template:DGSPROPERTIE...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Client function}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
This function sets the value of a specific property of a DGS element. For a list of properties and their meaning, see the [[template:DGSPROPERTIES | DGS properties page]].&lt;br /&gt;
&lt;br /&gt;
'''Note: If you push a value improperly, errors or warnings will occur, which may cause lag and debug info spamming.'''&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
string dgsDxGUISetProperty ( element dgsElement, string property, mixed value [, mixed arg1, mixed arg2 ... ] )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''dgsElement:''' the DGS element you wish to set a property to.&lt;br /&gt;
*'''property:''' the name of of property you want the value to.&lt;br /&gt;
*'''value:''' the value you want to set.&lt;br /&gt;
===Optional Arguments===&lt;br /&gt;
*'''arg...:''' extra value of some properties.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
If the function succeeds, it returns true, false otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
This example creates a label whose text can be changed by itself.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
DGS = exports.dgs&lt;br /&gt;
button = DGS:dgsDxCreateLabel(20, 200, 150, 30, &amp;quot;Test&amp;quot;, false)&lt;br /&gt;
code = &amp;quot;return getTickCount()&amp;quot;&lt;br /&gt;
DGS:dgsDxGUISetProperty(button, &amp;quot;functions&amp;quot;, code)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{DGSFUNCTIONS}}&lt;/div&gt;</summary>
		<author><name>Ridden</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=DgsCreateScrollBar&amp;diff=53242</id>
		<title>DgsCreateScrollBar</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=DgsCreateScrollBar&amp;diff=53242"/>
		<updated>2018-01-01T14:40:45Z</updated>

		<summary type="html">&lt;p&gt;Ridden: /* Syntax */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Client function}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
This function allows creation of a DGS Scroll Bar.&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
element dgsDxCreateScrollBar( float x, float y,float width, float height, bool horizontal, bool relative [,element parent = nil, element arrowImage = nil, element bgImage= nil, element cursorImage= nil, int colorArrowDef = 0xFFF0F0F0, int bgColorDef = 0xFFF0F0F0,int cursorColorDef = 0xFFC0C0C0,int colorArrowHov = 0xFFDADADA , int cursorColorHov = 0xFFA6A6A6, int colorArrowCli = 0xFFB4B4B4, int colorCursorCli = 0xFF606060] )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''x:''' A float of the 2D x position of the DGS combobox on a player's screen.  This is affected by the ''relative'' argument.&lt;br /&gt;
*'''y:''' A float of the 2D y position of the DGS combobox on a player's screen. This is affected by the ''relative'' argument.&lt;br /&gt;
*'''width:''' A float of the width of the DGS combobox. This is affected by the ''relative'' argument.&lt;br /&gt;
*'''height:''' A float of the height of the DGS combobox. This is affected by the ''relative'' argument. Note: height must be enough to fit the drop down menu, else the drop down won't appear.&lt;br /&gt;
*'''horizontal:''' whether this scrollbar is horizontal (''true'') or vertical (''false'').&lt;br /&gt;
*'''relative:''' This is whether sizes and positioning are relative.  If this is ''true'', then all x,y,width,height floats must be between 0 and 1, representing sizes relative to the parent.&lt;br /&gt;
&lt;br /&gt;
===Optional Arguments===&lt;br /&gt;
*'''parent:''' This is the parent that the DGS button is attached to.  If the ''relative'' argument is true, sizes and positioning will be made relative to this parent. If the ''relative'' argument is false, positioning will be the number of offset pixels from the parent's origin. If no parent is passed, the parent will become the screen - causing positioning and sizing according to screen positioning.&lt;br /&gt;
*'''arrowImage:''' A texture element of the background of the arrow of the scroll bar.&lt;br /&gt;
*'''bgImage:''' A texture element of the background of the track of the scroll bar.&lt;br /&gt;
*'''cursorImage:''' A texture element of the background of the cursor(face) of the scroll bar.&lt;br /&gt;
*'''colorArrowDef:''' An int of the color of the background of the arrow of the scroll bar ( not hovering on or clicked ).&lt;br /&gt;
*'''bgColorDef:''' An int of the color of the background of the track of the scroll bar.&lt;br /&gt;
*'''cursorColorDef:''' An int of the color of the background of the cursor(face) of the scroll bar ( not hovering on or clicked ).&lt;br /&gt;
*'''colorArrowHov:''' An int of the color of the background of the arrow of the scroll bar ( hovering on ).&lt;br /&gt;
*'''cursorColorHov :''' An int of the color of the background of the cursor(face) of the scroll bar ( hovering on ).&lt;br /&gt;
*'''colorArrowCli:''' An int of the color of the background of the arrow of the scroll bar ( clicked ).&lt;br /&gt;
*'''colorCursorCli :''' An int of the color of the background of the cursor(face) of the scroll bar ( clicked ).&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
This example creates a scroll bar on the screen.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
DGS = exports.dgs &lt;br /&gt;
addEventHandler(&amp;quot;onClientResourceStart&amp;quot;, resourceRoot, function()&lt;br /&gt;
	local scrollBar = DGS:dgsDxCreateScrollBar(0.29, 0.30, 0.44, 0.04, true, true)&lt;br /&gt;
	showCursor(true) &lt;br /&gt;
end)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{DGSFUNCTIONS}}&lt;/div&gt;</summary>
		<author><name>Ridden</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Resource:DGS&amp;diff=52216</id>
		<title>Resource:DGS</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Resource:DGS&amp;diff=52216"/>
		<updated>2017-09-07T16:09:35Z</updated>

		<summary type="html">&lt;p&gt;Ridden: /* Features */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;pageclass class=&amp;quot;resource&amp;quot; subcaption=&amp;quot;Resource&amp;quot;&amp;gt;&amp;lt;/pageclass&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This is a resource designed to allow you create dx gui on the screen instead of the original gui.&lt;br /&gt;
&lt;br /&gt;
'''Full Name''' : Thisdp's DX Graphical User Interface System ( DX GUI Lib )&lt;br /&gt;
&lt;br /&gt;
'''Author''' : thisdp&lt;br /&gt;
&lt;br /&gt;
'''State''' : OpenSource (WIP)&lt;br /&gt;
&lt;br /&gt;
'''GitHub Source''' : https://github.com/thisdp/dgs/tree/master&lt;br /&gt;
&lt;br /&gt;
=Features=&lt;br /&gt;
'''How it works?'''&lt;br /&gt;
*DGS is just like the original gui system that is based on element system. I use a simple way that can make it easier to understand.&lt;br /&gt;
*DGS elements are rendered in &amp;quot;onClientRender&amp;quot;. There is two or more tables store DGS elements. When &amp;quot;onClientRender&amp;quot; is called, &amp;quot;for&amp;quot; loop will loop and calculate every DGS element.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''What's different?'''&lt;br /&gt;
&lt;br /&gt;
*This resource is based on dx* functions. It allows us to edit our gui and make it in customlization.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Update System'''&lt;br /&gt;
*It have an update system that can keep your DGS latest.&lt;br /&gt;
*When a newer version has been pushed, it will detected and notice you to update dgs.&lt;br /&gt;
*Execute &amp;quot;updatedgs&amp;quot; to check the least version and update your DGS.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Update logs'''&lt;br /&gt;
*'''2.80 Update:'''&lt;br /&gt;
*1.Added Function : *dgsGetDxGUINoParent (Get DGS-DxGUIs which don't have parent) &lt;br /&gt;
*2.Added : Function : *dgsGetDxGUIFromResource (Get DGS-DxGUIs which were created by other resource)&lt;br /&gt;
*3.Fixed : Dx Grid List Mode (true) which the column has wrong position.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Examples scripts'''&lt;br /&gt;
*1.https://community.multitheftauto.com/index.php?p=resources&amp;amp;s=details&amp;amp;id=14757 By (Ahmed Ly,Mahmod Algeriany)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Debug'''&lt;br /&gt;
&lt;br /&gt;
*You can enter debug mode by executing the command &amp;quot;debugdgs&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''DGS Type'''&lt;br /&gt;
&lt;br /&gt;
* Button (dgs-dxbutton): A button.&lt;br /&gt;
* Command (dgs-dxcmd): A command just like windows.&lt;br /&gt;
* Cyclehitshape (dgs-dxcyclehitshape): A check area that is cycle.&lt;br /&gt;
* Edit (dgs-dxedit): A edit.&lt;br /&gt;
* Gridlist (dgs-dxgridlist): A grid list.&lt;br /&gt;
* Image (dgs-dximage): A static image.&lt;br /&gt;
* Label (dgs-dxlabel): A text label.&lt;br /&gt;
* ScrollBar (dgs-dxscrollbar): A scroll bar.&lt;br /&gt;
* ScrollPane (dgs-dxscrollpane): A scroll pane.&lt;br /&gt;
* Tab Panel (dgs-dxtabpanel + dgs-dxtab) : A tab panel. &lt;br /&gt;
* Window (dgs-dxwindow): A window.&lt;br /&gt;
* Progress Bar (dgs-dxprogressbar): A Progress Bar.&lt;br /&gt;
* Radio Button (dgs-dxradiobutton): A Radio Button.&lt;br /&gt;
* Combo Box (dgs-dxcombobox + dgs-dxcombobox-Box) : A combo box.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Notice'''&lt;br /&gt;
*The resource name should be 'dgs'.&lt;br /&gt;
*This is a resource. If you want to use the functions exported by this resource, you should add something in front of the function like 'exports.dgs:dgsDxCreateLabel(0,0,0.5,0.1,&amp;quot;text&amp;quot;,true)'&lt;br /&gt;
*Here is a feasible way to shorten the name of an exported function:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
DGS = exports.dgs --shorten the export function prefix&lt;br /&gt;
label = DGS:dgsDxCreateLabel(0,0,0.5,0.1,&amp;quot;text&amp;quot;,false) --create a label&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Thanks for their helps''' :&lt;br /&gt;
*Axel: Gives some tips and provide some functions.&lt;br /&gt;
*Senpai: Helps write wiki.&lt;br /&gt;
*ZoNe: Helps write wiki.&lt;br /&gt;
*DiGiTal: Helps write wiki.&lt;br /&gt;
*Ahmed Ly: Helps write wiki.&lt;br /&gt;
&lt;br /&gt;
='''DGS Element Properties'''=&lt;br /&gt;
{{DGSPROPERTIES}}&lt;br /&gt;
&lt;br /&gt;
='''Client Functions'''=&lt;br /&gt;
{{DGSFUNCTIONS}}&lt;br /&gt;
&lt;br /&gt;
=Client Events=&lt;br /&gt;
{{DGSEVENTS}}&lt;br /&gt;
&lt;br /&gt;
=Last=&lt;br /&gt;
'''Welcome everyone else to made suggestions, tested the script, helped me to finish the wiki, etc'''&lt;br /&gt;
[[Category:Resource]]&lt;br /&gt;
&lt;br /&gt;
[[ZH-CN:Slothbot]]&lt;/div&gt;</summary>
		<author><name>Ridden</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=DgsCreateTabPanel&amp;diff=51951</id>
		<title>DgsCreateTabPanel</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=DgsCreateTabPanel&amp;diff=51951"/>
		<updated>2017-08-14T10:01:33Z</updated>

		<summary type="html">&lt;p&gt;Ridden: /* Syntax */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Client function}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
This function allows creation of a DGS Tab Panel.&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
element dgsDxCreateTabPanel( float x, float y, float width, float height, bool relative, [ element parent = nil, element tabheight = 20, defbgcolor = 0xB400000000])&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Mta-screen 2017-08-12 14-25-35.png|frame|Example DGS Tab Panel.]]&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''x:''' A float of the 2D x position of the DGS Tab Panel on a player's screen.  This is affected by the ''relative'' argument.&lt;br /&gt;
*'''y:''' A float of the 2D y position of the DGS Tab Panel on a player's screen. This is affected by the ''relative'' argument.&lt;br /&gt;
*'''width:''' A float of the width of the DGS Tab Panel. This is affected by the ''relative'' argument.&lt;br /&gt;
*'''height:''' A float of the height of the DGS Tab Panel. This is affected by the ''relative'' argument. Note: height must be enough to fit the drop down menu, else the drop down won't appear.&lt;br /&gt;
*'''relative:''' This is whether sizes and positioning are relative.  If this is ''true'', then all x,y,width,height floats must be between 0 and 1, representing sizes relative to the parent.&lt;br /&gt;
===Optional Arguments===&lt;br /&gt;
*'''parent:''' This is the parent that the DGS Panel is attached to. &lt;br /&gt;
*'''tabheight:''' It's the Height of your tabs, Default is 20.&lt;br /&gt;
*'''defbcolor:''' It's the Color of the backround.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
This example creates tab panel with a BindKey which is F2&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
DGS = exports.dgs&lt;br /&gt;
matable = {}&lt;br /&gt;
matable.tab = DGS:dgsDxCreateTabPanel (0.22, 0.19, 0.56, 0.63,true)&lt;br /&gt;
matable.tab1 = DGS:dgsDxCreateTab(&amp;quot;Main&amp;quot;,matable.tab)&lt;br /&gt;
matable.tab2 = DGS:dgsDxCreateTab(&amp;quot;Rules&amp;quot;,matable.tab)&lt;br /&gt;
matable.tab3 = DGS:dgsDxCreateTab(&amp;quot;FAQ&amp;quot;,matable.tab)&lt;br /&gt;
matable.tab4 = DGS:dgsDxCreateTab(&amp;quot;About Us&amp;quot;,matable.tab)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
function guiToggleVisible ( )        &lt;br /&gt;
        if ( DGS:dgsDxGUIGetVisible (matable.tab) == true ) then -- check if the dgs element is visible               &lt;br /&gt;
                DGS:dgsDxGUISetVisible (matable.tab, false ) -- if it is, we hide it&lt;br /&gt;
		showCursor(false)&lt;br /&gt;
		print(&amp;quot;works2&amp;quot;)&lt;br /&gt;
        else              &lt;br /&gt;
                DGS:dgsDxGUISetVisible (matable.tab, true ) -- if not, we make it visible&lt;br /&gt;
		showCursor(true)&lt;br /&gt;
		print(&amp;quot;works3&amp;quot;)&lt;br /&gt;
        end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
bindKey ( &amp;quot;F2&amp;quot;, &amp;quot;down&amp;quot;, guiToggleVisible ) --bind the player's F2 to the function guiToggleVisible&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Example Create by :'''Ridden'''&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{DGSFUNCTIONS}}&lt;/div&gt;</summary>
		<author><name>Ridden</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=DgsCreateTabPanel&amp;diff=51948</id>
		<title>DgsCreateTabPanel</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=DgsCreateTabPanel&amp;diff=51948"/>
		<updated>2017-08-12T15:44:04Z</updated>

		<summary type="html">&lt;p&gt;Ridden: /* Syntax */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Client function}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
This function allows creation of a DGS Tab Panel.&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
element dgsDxCreateTabPanel( float x, float y, float width, float height, bool relative, [ element parent = nil, element tabheight = 20, defbgcolor = 0x00000011 ])&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Mta-screen 2017-08-12 14-25-35.png|frame|Example DGS Tab Panel.]]&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''x:''' A float of the 2D x position of the DGS Tab Panel on a player's screen.  This is affected by the ''relative'' argument.&lt;br /&gt;
*'''y:''' A float of the 2D y position of the DGS Tab Panel on a player's screen. This is affected by the ''relative'' argument.&lt;br /&gt;
*'''width:''' A float of the width of the DGS Tab Panel. This is affected by the ''relative'' argument.&lt;br /&gt;
*'''height:''' A float of the height of the DGS Tab Panel. This is affected by the ''relative'' argument. Note: height must be enough to fit the drop down menu, else the drop down won't appear.&lt;br /&gt;
*'''relative:''' This is whether sizes and positioning are relative.  If this is ''true'', then all x,y,width,height floats must be between 0 and 1, representing sizes relative to the parent.&lt;br /&gt;
===Optional Arguments===&lt;br /&gt;
*'''parent:''' This is the parent that the DGS Panel is attached to. &lt;br /&gt;
*'''tabheight:''' It's the Height of your tabs, Default is 20.&lt;br /&gt;
*'''defbcolor:''' It's the Color of the backround.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
This example creates tab panel with a BindKey which is F2&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
DGS = exports.dgs&lt;br /&gt;
matable = {}&lt;br /&gt;
matable.tab = DGS:dgsDxCreateTabPanel (0.22, 0.19, 0.56, 0.63,true)&lt;br /&gt;
matable.tab1 = DGS:dgsDxCreateTab(&amp;quot;Main&amp;quot;,matable.tab)&lt;br /&gt;
matable.tab2 = DGS:dgsDxCreateTab(&amp;quot;Rules&amp;quot;,matable.tab)&lt;br /&gt;
matable.tab3 = DGS:dgsDxCreateTab(&amp;quot;FAQ&amp;quot;,matable.tab)&lt;br /&gt;
matable.tab4 = DGS:dgsDxCreateTab(&amp;quot;About Us&amp;quot;,matable.tab)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
function guiToggleVisible ( )        &lt;br /&gt;
        if ( DGS:dgsDxGUIGetVisible (matable.tab) == true ) then -- check if the dgs element is visible               &lt;br /&gt;
                DGS:dgsDxGUISetVisible (matable.tab, false ) -- if it is, we hide it&lt;br /&gt;
		showCursor(false)&lt;br /&gt;
		print(&amp;quot;works2&amp;quot;)&lt;br /&gt;
        else              &lt;br /&gt;
                DGS:dgsDxGUISetVisible (matable.tab, true ) -- if not, we make it visible&lt;br /&gt;
		showCursor(true)&lt;br /&gt;
		print(&amp;quot;works3&amp;quot;)&lt;br /&gt;
        end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
bindKey ( &amp;quot;F2&amp;quot;, &amp;quot;down&amp;quot;, guiToggleVisible ) --bind the player's F2 to the function guiToggleVisible&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Example Create by :'''Ridden'''&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{DGSFUNCTIONS}}&lt;/div&gt;</summary>
		<author><name>Ridden</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=DgsCreateTabPanel&amp;diff=51947</id>
		<title>DgsCreateTabPanel</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=DgsCreateTabPanel&amp;diff=51947"/>
		<updated>2017-08-12T14:12:16Z</updated>

		<summary type="html">&lt;p&gt;Ridden: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Client function}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
This function allows creation of a DGS Tab Panel.&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
element dgsDxCreateTabPanel( float x, float y, float width, float height, bool relative, [ element parent = nil, element tabheight = 20, defbgcolor = ])&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Mta-screen 2017-08-12 14-25-35.png|frame|Example DGS Tab Panel.]]&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''x:''' A float of the 2D x position of the DGS Tab Panel on a player's screen.  This is affected by the ''relative'' argument.&lt;br /&gt;
*'''y:''' A float of the 2D y position of the DGS Tab Panel on a player's screen. This is affected by the ''relative'' argument.&lt;br /&gt;
*'''width:''' A float of the width of the DGS Tab Panel. This is affected by the ''relative'' argument.&lt;br /&gt;
*'''height:''' A float of the height of the DGS Tab Panel. This is affected by the ''relative'' argument. Note: height must be enough to fit the drop down menu, else the drop down won't appear.&lt;br /&gt;
*'''relative:''' This is whether sizes and positioning are relative.  If this is ''true'', then all x,y,width,height floats must be between 0 and 1, representing sizes relative to the parent.&lt;br /&gt;
===Optional Arguments===&lt;br /&gt;
*'''parent:''' This is the parent that the DGS Panel is attached to. &lt;br /&gt;
*'''tabheight:''' It's the Height of your tabs, Default is 20.&lt;br /&gt;
*'''defbcolor:''' It's the Color of the backround.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
This example creates tab panel with a BindKey which is F2&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
DGS = exports.dgs&lt;br /&gt;
matable = {}&lt;br /&gt;
matable.tab = DGS:dgsDxCreateTabPanel (0.22, 0.19, 0.56, 0.63,true)&lt;br /&gt;
matable.tab1 = DGS:dgsDxCreateTab(&amp;quot;Main&amp;quot;,matable.tab)&lt;br /&gt;
matable.tab2 = DGS:dgsDxCreateTab(&amp;quot;Rules&amp;quot;,matable.tab)&lt;br /&gt;
matable.tab3 = DGS:dgsDxCreateTab(&amp;quot;FAQ&amp;quot;,matable.tab)&lt;br /&gt;
matable.tab4 = DGS:dgsDxCreateTab(&amp;quot;About Us&amp;quot;,matable.tab)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
function guiToggleVisible ( )        &lt;br /&gt;
        if ( DGS:dgsDxGUIGetVisible (matable.tab) == true ) then -- check if the dgs element is visible               &lt;br /&gt;
                DGS:dgsDxGUISetVisible (matable.tab, false ) -- if it is, we hide it&lt;br /&gt;
		showCursor(false)&lt;br /&gt;
		print(&amp;quot;works2&amp;quot;)&lt;br /&gt;
        else              &lt;br /&gt;
                DGS:dgsDxGUISetVisible (matable.tab, true ) -- if not, we make it visible&lt;br /&gt;
		showCursor(true)&lt;br /&gt;
		print(&amp;quot;works3&amp;quot;)&lt;br /&gt;
        end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
bindKey ( &amp;quot;F2&amp;quot;, &amp;quot;down&amp;quot;, guiToggleVisible ) --bind the player's F2 to the function guiToggleVisible&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Example Create by :'''Ridden'''&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{DGSFUNCTIONS}}&lt;/div&gt;</summary>
		<author><name>Ridden</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=DgsCreateTabPanel&amp;diff=51946</id>
		<title>DgsCreateTabPanel</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=DgsCreateTabPanel&amp;diff=51946"/>
		<updated>2017-08-12T14:11:33Z</updated>

		<summary type="html">&lt;p&gt;Ridden: /* Optional Arguments */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Client function}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
This function allows creation of a DGS Tab Panel.&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
element dgsDxCreateTabPanel( float x, float y, float width, float height, bool relative, [ element parent = nil, element tabheight = 20, defbgcolor = ])&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Mta-screen 2017-08-12 14-25-35.png|frame|Example DGS Tab Panel.]]&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''x:''' A float of the 2D x position of the DGS Tab Panel on a player's screen.  This is affected by the ''relative'' argument.&lt;br /&gt;
*'''y:''' A float of the 2D y position of the DGS Tab Panel on a player's screen. This is affected by the ''relative'' argument.&lt;br /&gt;
*'''width:''' A float of the width of the DGS Tab Panel. This is affected by the ''relative'' argument.&lt;br /&gt;
*'''height:''' A float of the height of the DGS Tab Panel. This is affected by the ''relative'' argument. Note: height must be enough to fit the drop down menu, else the drop down won't appear.&lt;br /&gt;
*'''relative:''' This is whether sizes and positioning are relative.  If this is ''true'', then all x,y,width,height floats must be between 0 and 1, representing sizes relative to the parent.&lt;br /&gt;
===Optional Arguments===&lt;br /&gt;
*'''parent:''' This is the parent that the DGS Panel is attached to. &lt;br /&gt;
*'''tabheight:''' It's the Height of your tabs, Default is 20.&lt;br /&gt;
*'''defbcolor:''' It's the Color of the backround.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
{{Client function}}&lt;br /&gt;
_NOTOC_&lt;br /&gt;
This example creates tab panel with a BindKey which is F2&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
DGS = exports.dgs&lt;br /&gt;
matable = {}&lt;br /&gt;
matable.tab = DGS:dgsDxCreateTabPanel (0.22, 0.19, 0.56, 0.63,true)&lt;br /&gt;
matable.tab1 = DGS:dgsDxCreateTab(&amp;quot;Main&amp;quot;,matable.tab)&lt;br /&gt;
matable.tab2 = DGS:dgsDxCreateTab(&amp;quot;Rules&amp;quot;,matable.tab)&lt;br /&gt;
matable.tab3 = DGS:dgsDxCreateTab(&amp;quot;FAQ&amp;quot;,matable.tab)&lt;br /&gt;
matable.tab4 = DGS:dgsDxCreateTab(&amp;quot;About Us&amp;quot;,matable.tab)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
function guiToggleVisible ( )        &lt;br /&gt;
        if ( DGS:dgsDxGUIGetVisible (matable.tab) == true ) then -- check if the dgs element is visible               &lt;br /&gt;
                DGS:dgsDxGUISetVisible (matable.tab, false ) -- if it is, we hide it&lt;br /&gt;
		showCursor(false)&lt;br /&gt;
		print(&amp;quot;works2&amp;quot;)&lt;br /&gt;
        else              &lt;br /&gt;
                DGS:dgsDxGUISetVisible (matable.tab, true ) -- if not, we make it visible&lt;br /&gt;
		showCursor(true)&lt;br /&gt;
		print(&amp;quot;works3&amp;quot;)&lt;br /&gt;
        end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
bindKey ( &amp;quot;F2&amp;quot;, &amp;quot;down&amp;quot;, guiToggleVisible ) --bind the player's F2 to the function guiToggleVisible&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Example Create by :'''Ridden'''&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{DGSFUNCTIONS}}&lt;/div&gt;</summary>
		<author><name>Ridden</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=DgsCreateTabPanel&amp;diff=51945</id>
		<title>DgsCreateTabPanel</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=DgsCreateTabPanel&amp;diff=51945"/>
		<updated>2017-08-12T14:11:04Z</updated>

		<summary type="html">&lt;p&gt;Ridden: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Client function}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
This function allows creation of a DGS Tab Panel.&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
element dgsDxCreateTabPanel( float x, float y, float width, float height, bool relative, [ element parent = nil, element tabheight = 20, defbgcolor = ])&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Mta-screen 2017-08-12 14-25-35.png|frame|Example DGS Tab Panel.]]&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''x:''' A float of the 2D x position of the DGS Tab Panel on a player's screen.  This is affected by the ''relative'' argument.&lt;br /&gt;
*'''y:''' A float of the 2D y position of the DGS Tab Panel on a player's screen. This is affected by the ''relative'' argument.&lt;br /&gt;
*'''width:''' A float of the width of the DGS Tab Panel. This is affected by the ''relative'' argument.&lt;br /&gt;
*'''height:''' A float of the height of the DGS Tab Panel. This is affected by the ''relative'' argument. Note: height must be enough to fit the drop down menu, else the drop down won't appear.&lt;br /&gt;
*'''relative:''' This is whether sizes and positioning are relative.  If this is ''true'', then all x,y,width,height floats must be between 0 and 1, representing sizes relative to the parent.&lt;br /&gt;
===Optional Arguments===&lt;br /&gt;
*'''parent:''' This is the parent that the DGS Panel is attached to. &lt;br /&gt;
*'''tabheight:''' It's the Height of your tabs, Default is 20.&lt;br /&gt;
*'''defbcolor:''' It's the Color of the backround.&lt;br /&gt;
&lt;br /&gt;
{{Client function}}&lt;br /&gt;
_NOTOC_&lt;br /&gt;
==Example==&lt;br /&gt;
{{Client function}}&lt;br /&gt;
_NOTOC_&lt;br /&gt;
This example creates tab panel with a BindKey which is F2&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
DGS = exports.dgs&lt;br /&gt;
matable = {}&lt;br /&gt;
matable.tab = DGS:dgsDxCreateTabPanel (0.22, 0.19, 0.56, 0.63,true)&lt;br /&gt;
matable.tab1 = DGS:dgsDxCreateTab(&amp;quot;Main&amp;quot;,matable.tab)&lt;br /&gt;
matable.tab2 = DGS:dgsDxCreateTab(&amp;quot;Rules&amp;quot;,matable.tab)&lt;br /&gt;
matable.tab3 = DGS:dgsDxCreateTab(&amp;quot;FAQ&amp;quot;,matable.tab)&lt;br /&gt;
matable.tab4 = DGS:dgsDxCreateTab(&amp;quot;About Us&amp;quot;,matable.tab)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
function guiToggleVisible ( )        &lt;br /&gt;
        if ( DGS:dgsDxGUIGetVisible (matable.tab) == true ) then -- check if the dgs element is visible               &lt;br /&gt;
                DGS:dgsDxGUISetVisible (matable.tab, false ) -- if it is, we hide it&lt;br /&gt;
		showCursor(false)&lt;br /&gt;
		print(&amp;quot;works2&amp;quot;)&lt;br /&gt;
        else              &lt;br /&gt;
                DGS:dgsDxGUISetVisible (matable.tab, true ) -- if not, we make it visible&lt;br /&gt;
		showCursor(true)&lt;br /&gt;
		print(&amp;quot;works3&amp;quot;)&lt;br /&gt;
        end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
bindKey ( &amp;quot;F2&amp;quot;, &amp;quot;down&amp;quot;, guiToggleVisible ) --bind the player's F2 to the function guiToggleVisible&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Example Create by :'''Ridden'''&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{DGSFUNCTIONS}}&lt;/div&gt;</summary>
		<author><name>Ridden</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=DgsCreateTabPanel&amp;diff=51944</id>
		<title>DgsCreateTabPanel</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=DgsCreateTabPanel&amp;diff=51944"/>
		<updated>2017-08-12T14:10:42Z</updated>

		<summary type="html">&lt;p&gt;Ridden: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Client function}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
This function allows creation of a DGS Tab Panel.&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
element dgsDxCreateTabPanel( float x, float y, float width, float height, bool relative, [ element parent = nil, element tabheight = 20, defbgcolor = ])&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Mta-screen 2017-08-12 14-25-35.png|frame|Example DGS Tab Panel.]]&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''x:''' A float of the 2D x position of the DGS Tab Panel on a player's screen.  This is affected by the ''relative'' argument.&lt;br /&gt;
*'''y:''' A float of the 2D y position of the DGS Tab Panel on a player's screen. This is affected by the ''relative'' argument.&lt;br /&gt;
*'''width:''' A float of the width of the DGS Tab Panel. This is affected by the ''relative'' argument.&lt;br /&gt;
*'''height:''' A float of the height of the DGS Tab Panel. This is affected by the ''relative'' argument. Note: height must be enough to fit the drop down menu, else the drop down won't appear.&lt;br /&gt;
*'''relative:''' This is whether sizes and positioning are relative.  If this is ''true'', then all x,y,width,height floats must be between 0 and 1, representing sizes relative to the parent.&lt;br /&gt;
===Optional Arguments===&lt;br /&gt;
*'''parent:''' This is the parent that the DGS Panel is attached to. &lt;br /&gt;
*'''tabheight:''' It's the Height of your tabs, Default is 20.&lt;br /&gt;
*'''defbcolor:''' It's the Color of the backround.&lt;br /&gt;
&lt;br /&gt;
{{Client function}}&lt;br /&gt;
_NOTOC_&lt;br /&gt;
==Example==&lt;br /&gt;
This example creates tab panel with a BindKey which is F2&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
DGS = exports.dgs&lt;br /&gt;
matable = {}&lt;br /&gt;
matable.tab = DGS:dgsDxCreateTabPanel (0.22, 0.19, 0.56, 0.63,true)&lt;br /&gt;
matable.tab1 = DGS:dgsDxCreateTab(&amp;quot;Main&amp;quot;,matable.tab)&lt;br /&gt;
matable.tab2 = DGS:dgsDxCreateTab(&amp;quot;Rules&amp;quot;,matable.tab)&lt;br /&gt;
matable.tab3 = DGS:dgsDxCreateTab(&amp;quot;FAQ&amp;quot;,matable.tab)&lt;br /&gt;
matable.tab4 = DGS:dgsDxCreateTab(&amp;quot;About Us&amp;quot;,matable.tab)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
function guiToggleVisible ( )        &lt;br /&gt;
        if ( DGS:dgsDxGUIGetVisible (matable.tab) == true ) then -- check if the dgs element is visible               &lt;br /&gt;
                DGS:dgsDxGUISetVisible (matable.tab, false ) -- if it is, we hide it&lt;br /&gt;
		showCursor(false)&lt;br /&gt;
		print(&amp;quot;works2&amp;quot;)&lt;br /&gt;
        else              &lt;br /&gt;
                DGS:dgsDxGUISetVisible (matable.tab, true ) -- if not, we make it visible&lt;br /&gt;
		showCursor(true)&lt;br /&gt;
		print(&amp;quot;works3&amp;quot;)&lt;br /&gt;
        end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
bindKey ( &amp;quot;F2&amp;quot;, &amp;quot;down&amp;quot;, guiToggleVisible ) --bind the player's F2 to the function guiToggleVisible&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Example Create by :'''Ridden'''&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{DGSFUNCTIONS}}&lt;/div&gt;</summary>
		<author><name>Ridden</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=DgsCreateTabPanel&amp;diff=51939</id>
		<title>DgsCreateTabPanel</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=DgsCreateTabPanel&amp;diff=51939"/>
		<updated>2017-08-12T14:06:17Z</updated>

		<summary type="html">&lt;p&gt;Ridden: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This function allows creation of a DGS Tab Panel.&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
element dgsDxCreateTabPanel( float x, float y, float width, float height, bool relative, [ element parent = nil, element tabheight = 20, defbgcolor = ])&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Mta-screen 2017-08-12 14-25-35.png|frame|Example DGS Tab Panel.]]&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''x:''' A float of the 2D x position of the DGS Tab Panel on a player's screen.  This is affected by the ''relative'' argument.&lt;br /&gt;
*'''y:''' A float of the 2D y position of the DGS Tab Panel on a player's screen. This is affected by the ''relative'' argument.&lt;br /&gt;
*'''width:''' A float of the width of the DGS Tab Panel. This is affected by the ''relative'' argument.&lt;br /&gt;
*'''height:''' A float of the height of the DGS Tab Panel. This is affected by the ''relative'' argument. Note: height must be enough to fit the drop down menu, else the drop down won't appear.&lt;br /&gt;
*'''relative:''' This is whether sizes and positioning are relative.  If this is ''true'', then all x,y,width,height floats must be between 0 and 1, representing sizes relative to the parent.&lt;br /&gt;
===Optional Arguments===&lt;br /&gt;
*'''parent:''' This is the parent that the DGS Panel is attached to. &lt;br /&gt;
*'''tabheight:''' It's the Height of your tabs, Default is 20.&lt;br /&gt;
*'''defbcolor:''' It's the Color of the backround.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
This example creates tab panel with a BindKey which is F2&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
DGS = exports.dgs&lt;br /&gt;
matable = {}&lt;br /&gt;
matable.tab = DGS:dgsDxCreateTabPanel (0.22, 0.19, 0.56, 0.63,true)&lt;br /&gt;
matable.tab1 = DGS:dgsDxCreateTab(&amp;quot;Main&amp;quot;,matable.tab)&lt;br /&gt;
matable.tab2 = DGS:dgsDxCreateTab(&amp;quot;Rules&amp;quot;,matable.tab)&lt;br /&gt;
matable.tab3 = DGS:dgsDxCreateTab(&amp;quot;FAQ&amp;quot;,matable.tab)&lt;br /&gt;
matable.tab4 = DGS:dgsDxCreateTab(&amp;quot;About Us&amp;quot;,matable.tab)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
function guiToggleVisible ( )        &lt;br /&gt;
        if ( DGS:dgsDxGUIGetVisible (matable.tab) == true ) then -- check if the dgs element is visible               &lt;br /&gt;
                DGS:dgsDxGUISetVisible (matable.tab, false ) -- if it is, we hide it&lt;br /&gt;
		showCursor(false)&lt;br /&gt;
		print(&amp;quot;works2&amp;quot;)&lt;br /&gt;
        else              &lt;br /&gt;
                DGS:dgsDxGUISetVisible (matable.tab, true ) -- if not, we make it visible&lt;br /&gt;
		showCursor(true)&lt;br /&gt;
		print(&amp;quot;works3&amp;quot;)&lt;br /&gt;
        end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
bindKey ( &amp;quot;F2&amp;quot;, &amp;quot;down&amp;quot;, guiToggleVisible ) --bind the player's F2 to the function guiToggleVisible&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Example Create by :'''Ridden'''&lt;/div&gt;</summary>
		<author><name>Ridden</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=DgsCreateTabPanel&amp;diff=51937</id>
		<title>DgsCreateTabPanel</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=DgsCreateTabPanel&amp;diff=51937"/>
		<updated>2017-08-12T14:05:16Z</updated>

		<summary type="html">&lt;p&gt;Ridden: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This function allows creation of a DGS Tab Panel.&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
element dgsDxCreateTabPanel( float x, float y, float width, float height, bool relative, [ element parent = nil, element tabheight = 20, defbgcolor = ])&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Mta-screen 2017-08-12 14-25-35.png|frame|Example DGS Tab Panel.]]&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''x:''' A float of the 2D x position of the DGS Tab Panel on a player's screen.  This is affected by the ''relative'' argument.&lt;br /&gt;
*'''y:''' A float of the 2D y position of the DGS Tab Panel on a player's screen. This is affected by the ''relative'' argument.&lt;br /&gt;
*'''width:''' A float of the width of the DGS Tab Panel. This is affected by the ''relative'' argument.&lt;br /&gt;
*'''height:''' A float of the height of the DGS Tab Panel. This is affected by the ''relative'' argument. Note: height must be enough to fit the drop down menu, else the drop down won't appear.&lt;br /&gt;
*'''relative:''' This is whether sizes and positioning are relative.  If this is ''true'', then all x,y,width,height floats must be between 0 and 1, representing sizes relative to the parent.&lt;br /&gt;
===Optional Arguments===&lt;br /&gt;
*'''parent:''' This is the parent that the DGS Panel is attached to. &lt;br /&gt;
*'''tabheight:''' It's the Height of your tabs, Default is 20.&lt;br /&gt;
*'''defbcolor:''' It's the Color of the backround.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
This example creates tab panel with a BindKey which is F2&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
DGS = exports.dgs&lt;br /&gt;
matable = {}&lt;br /&gt;
matable.tab = DGS:dgsDxCreateTabPanel (0.22, 0.19, 0.56, 0.63,true)&lt;br /&gt;
matable.tab1 = DGS:dgsDxCreateTab(&amp;quot;Main&amp;quot;,matable.tab)&lt;br /&gt;
matable.tab1 = DGS:dgsDxCreateTab(&amp;quot;Rules&amp;quot;,matable.tab)&lt;br /&gt;
matable.tab1 = DGS:dgsDxCreateTab(&amp;quot;FAQ&amp;quot;,matable.tab)&lt;br /&gt;
matable.tab1 = DGS:dgsDxCreateTab(&amp;quot;About Us&amp;quot;,matable.tab)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
function guiToggleVisible ( )        &lt;br /&gt;
        if ( DGS:dgsDxGUIGetVisible (matable.tab) == true ) then -- check if the dgs element is visible               &lt;br /&gt;
                DGS:dgsDxGUISetVisible (matable.tab, false ) -- if it is, we hide it&lt;br /&gt;
							showCursor(false)&lt;br /&gt;
							print(&amp;quot;works2&amp;quot;)&lt;br /&gt;
        else              &lt;br /&gt;
                DGS:dgsDxGUISetVisible (matable.tab, true ) -- if not, we make it visible&lt;br /&gt;
							showCursor(true)&lt;br /&gt;
							print(&amp;quot;works3&amp;quot;)&lt;br /&gt;
        end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
bindKey ( &amp;quot;F2&amp;quot;, &amp;quot;down&amp;quot;, guiToggleVisible ) --bind the player's F2 to the function guiToggleVisible&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Example Create by :'''Ridden'''&lt;/div&gt;</summary>
		<author><name>Ridden</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=DgsCreateTabPanel&amp;diff=51936</id>
		<title>DgsCreateTabPanel</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=DgsCreateTabPanel&amp;diff=51936"/>
		<updated>2017-08-12T14:04:20Z</updated>

		<summary type="html">&lt;p&gt;Ridden: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This function allows creation of a DGS Tab Panel.&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
element dgsDxCreateTabPanel( float x, float y, float width, float height, bool relative, [ element parent = nil, element tabheight = 20, defbgcolor = ])&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Mta-screen 2017-08-12 14-25-35.png|frame|Example DGS Tab Panel.]]&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''x:''' A float of the 2D x position of the DGS Tab Panel on a player's screen.  This is affected by the ''relative'' argument.&lt;br /&gt;
*'''y:''' A float of the 2D y position of the DGS Tab Panel on a player's screen. This is affected by the ''relative'' argument.&lt;br /&gt;
*'''width:''' A float of the width of the DGS Tab Panel. This is affected by the ''relative'' argument.&lt;br /&gt;
*'''height:''' A float of the height of the DGS Tab Panel. This is affected by the ''relative'' argument. Note: height must be enough to fit the drop down menu, else the drop down won't appear.&lt;br /&gt;
*'''relative:''' This is whether sizes and positioning are relative.  If this is ''true'', then all x,y,width,height floats must be between 0 and 1, representing sizes relative to the parent.&lt;br /&gt;
===Optional Arguments===&lt;br /&gt;
*'''parent:''' This is the parent that the DGS Panel is attached to. &lt;br /&gt;
*'''tabheight:''' It's the Height of your tabs, Default is 20.&lt;br /&gt;
*'''defbcolor:''' It's the Color of the backround.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
This example creates tab panel with a BindKey which is F2&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
DGS = exports.dgs&lt;br /&gt;
matable = {}&lt;br /&gt;
matable.tab = DGS:dgsDxCreateTabPanel (0.22, 0.19, 0.56, 0.63,true)&lt;br /&gt;
matable.tab1 = DGS:dgsDxCreateTab(&amp;quot;Main&amp;quot;,matable.tab)&lt;br /&gt;
matable.tab1 = DGS:dgsDxCreateTab(&amp;quot;Rules&amp;quot;,matable.tab)&lt;br /&gt;
matable.tab1 = DGS:dgsDxCreateTab(&amp;quot;FAQ&amp;quot;,matable.tab)&lt;br /&gt;
matable.tab1 = DGS:dgsDxCreateTab(&amp;quot;About Us&amp;quot;,matable.tab)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
function guiToggleVisible ( )        &lt;br /&gt;
        if ( DGS:dgsDxGUIGetVisible (matable.tab) == true ) then -- check if the dgs element is visible               &lt;br /&gt;
                DGS:dgsDxGUISetVisible (matable.tab, false ) -- if it is, we hide it&lt;br /&gt;
							showCursor(false)&lt;br /&gt;
							print(&amp;quot;works2&amp;quot;)&lt;br /&gt;
        else              &lt;br /&gt;
                DGS:dgsDxGUISetVisible (matable.tab, true ) -- if not, we make it visible&lt;br /&gt;
							showCursor(true)&lt;br /&gt;
							print(&amp;quot;works3&amp;quot;)&lt;br /&gt;
        end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
bindKey ( &amp;quot;F2&amp;quot;, &amp;quot;down&amp;quot;, guiToggleVisible ) --bind the player's spacebar to the function guiToggleVisible&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Example Create by :'''Ridden'''&lt;/div&gt;</summary>
		<author><name>Ridden</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=DgsCreateTabPanel&amp;diff=51935</id>
		<title>DgsCreateTabPanel</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=DgsCreateTabPanel&amp;diff=51935"/>
		<updated>2017-08-12T14:02:38Z</updated>

		<summary type="html">&lt;p&gt;Ridden: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This function allows creation of a DGS Tab Panel.&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
element dgsDxCreateTabPanel( float x, float y, float width, float height, bool relative, [ element parent = nil, element tabheight = 20, defbgcolor = ])&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Mta-screen 2017-08-12 14-25-35.png|frame|Example DGS Tab Panel.]]&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''x:''' A float of the 2D x position of the DGS Tab Panel on a player's screen.  This is affected by the ''relative'' argument.&lt;br /&gt;
*'''y:''' A float of the 2D y position of the DGS Tab Panel on a player's screen. This is affected by the ''relative'' argument.&lt;br /&gt;
*'''width:''' A float of the width of the DGS Tab Panel. This is affected by the ''relative'' argument.&lt;br /&gt;
*'''height:''' A float of the height of the DGS Tab Panel. This is affected by the ''relative'' argument. Note: height must be enough to fit the drop down menu, else the drop down won't appear.&lt;br /&gt;
*'''relative:''' This is whether sizes and positioning are relative.  If this is ''true'', then all x,y,width,height floats must be between 0 and 1, representing sizes relative to the parent.&lt;br /&gt;
===Optional Arguments===&lt;br /&gt;
*'''parent:''' This is the parent that the DGS Panel is attached to. &lt;br /&gt;
*'''tabheight:''' It's the Height of your tabs, Default is 20.&lt;br /&gt;
*'''defbcolor:''' It's the Color of the backround.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;section name=&amp;quot;Example 1: Client&amp;quot; class=&amp;quot;client&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
This script show a tab panel by a BindKey(F2).&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
DGS = exports.dgs&lt;br /&gt;
matable = {}&lt;br /&gt;
matable.tab = DGS:dgsDxCreateTabPanel (0.22, 0.19, 0.56, 0.63,true)&lt;br /&gt;
matable.tab1 = DGS:dgsDxCreateTab(&amp;quot;Main&amp;quot;,matable.tab)&lt;br /&gt;
matable.tab1 = DGS:dgsDxCreateTab(&amp;quot;Rules&amp;quot;,matable.tab)&lt;br /&gt;
matable.tab1 = DGS:dgsDxCreateTab(&amp;quot;FAQ&amp;quot;,matable.tab)&lt;br /&gt;
matable.tab1 = DGS:dgsDxCreateTab(&amp;quot;About Us&amp;quot;,matable.tab)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
function guiToggleVisible ( )        &lt;br /&gt;
        if ( DGS:dgsDxGUIGetVisible (matable.tab) == true ) then -- check if the dgs element is visible               &lt;br /&gt;
                DGS:dgsDxGUISetVisible (matable.tab, false ) -- if it is, we hide it&lt;br /&gt;
							showCursor(false)&lt;br /&gt;
							print(&amp;quot;works2&amp;quot;)&lt;br /&gt;
        else              &lt;br /&gt;
                DGS:dgsDxGUISetVisible (matable.tab, true ) -- if not, we make it visible&lt;br /&gt;
							showCursor(true)&lt;br /&gt;
							print(&amp;quot;works3&amp;quot;)&lt;br /&gt;
        end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
bindKey ( &amp;quot;F2&amp;quot;, &amp;quot;down&amp;quot;, guiToggleVisible ) --bind the player's spacebar to the function guiToggleVisible&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ridden</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=DgsCreateTabPanel&amp;diff=51932</id>
		<title>DgsCreateTabPanel</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=DgsCreateTabPanel&amp;diff=51932"/>
		<updated>2017-08-12T13:57:48Z</updated>

		<summary type="html">&lt;p&gt;Ridden: /* image */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This function allows creation of a DGS Tab Panel.&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
element dgsDxCreateTabPanel( float x, float y, float width, float height, bool relative, [ element parent = nil, element tabheight = 20, defbgcolor = ])&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Mta-screen 2017-08-12 14-25-35.png|frame|Example DGS Tab Panel.]]&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''x:''' A float of the 2D x position of the DGS Tab Panel on a player's screen.  This is affected by the ''relative'' argument.&lt;br /&gt;
*'''y:''' A float of the 2D y position of the DGS Tab Panel on a player's screen. This is affected by the ''relative'' argument.&lt;br /&gt;
*'''width:''' A float of the width of the DGS Tab Panel. This is affected by the ''relative'' argument.&lt;br /&gt;
*'''height:''' A float of the height of the DGS Tab Panel. This is affected by the ''relative'' argument. Note: height must be enough to fit the drop down menu, else the drop down won't appear.&lt;br /&gt;
*'''relative:''' This is whether sizes and positioning are relative.  If this is ''true'', then all x,y,width,height floats must be between 0 and 1, representing sizes relative to the parent.&lt;br /&gt;
===Optional Arguments===&lt;br /&gt;
*'''parent:''' This is the parent that the DGS Panel is attached to. &lt;br /&gt;
*'''tabheight:''' It's the Height of your tabs, Default is 20.&lt;br /&gt;
*'''defbcolor:''' It's the Color of the backround.&lt;/div&gt;</summary>
		<author><name>Ridden</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=DgsCreateTabPanel&amp;diff=51930</id>
		<title>DgsCreateTabPanel</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=DgsCreateTabPanel&amp;diff=51930"/>
		<updated>2017-08-12T13:57:27Z</updated>

		<summary type="html">&lt;p&gt;Ridden: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This function allows creation of a DGS Tab Panel.&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
element dgsDxCreateTabPanel( float x, float y, float width, float height, bool relative, [ element parent = nil, element tabheight = 20, defbgcolor = ])&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==image==&lt;br /&gt;
[[Image:Mta-screen 2017-08-12 14-25-35.png|frame|Example DGS Tab Panel.]]&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''x:''' A float of the 2D x position of the DGS Tab Panel on a player's screen.  This is affected by the ''relative'' argument.&lt;br /&gt;
*'''y:''' A float of the 2D y position of the DGS Tab Panel on a player's screen. This is affected by the ''relative'' argument.&lt;br /&gt;
*'''width:''' A float of the width of the DGS Tab Panel. This is affected by the ''relative'' argument.&lt;br /&gt;
*'''height:''' A float of the height of the DGS Tab Panel. This is affected by the ''relative'' argument. Note: height must be enough to fit the drop down menu, else the drop down won't appear.&lt;br /&gt;
*'''relative:''' This is whether sizes and positioning are relative.  If this is ''true'', then all x,y,width,height floats must be between 0 and 1, representing sizes relative to the parent.&lt;br /&gt;
===Optional Arguments===&lt;br /&gt;
*'''parent:''' This is the parent that the DGS Panel is attached to. &lt;br /&gt;
*'''tabheight:''' It's the Height of your tabs, Default is 20.&lt;br /&gt;
*'''defbcolor:''' It's the Color of the backround.&lt;/div&gt;</summary>
		<author><name>Ridden</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=DgsCreateTabPanel&amp;diff=51929</id>
		<title>DgsCreateTabPanel</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=DgsCreateTabPanel&amp;diff=51929"/>
		<updated>2017-08-12T13:56:59Z</updated>

		<summary type="html">&lt;p&gt;Ridden: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This function allows creation of a DGS Tab Panel.&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
element dgsDxCreateTabPanel( float x, float y, float width, float height, bool relative, [ element parent = nil, element tabheight = 20, defbgcolor = ])&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==image==&lt;br /&gt;
[[Image:Mta-screen 2017-08-12 14-25-35.png|frame|Example DGS Tab Panel.]]&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''x:''' A float of the 2D x position of the DGS Tab Panel on a player's screen.  This is affected by the ''relative'' argument.&lt;br /&gt;
*'''y:''' A float of the 2D y position of the DGS Tab Panel on a player's screen. This is affected by the ''relative'' argument.&lt;br /&gt;
*'''width:''' A float of the width of the DGS Tab Panel. This is affected by the ''relative'' argument.&lt;br /&gt;
*'''height:''' A float of the height of the DGS Tab Panel. This is affected by the ''relative'' argument. Note: height must be enough to fit the drop down menu, else the drop down won't appear.&lt;br /&gt;
*'''relative:''' This is whether sizes and positioning are relative.  If this is ''true'', then all x,y,width,height floats must be between 0 and 1, representing sizes relative to the parent.&lt;br /&gt;
===Optional Arguments===&lt;br /&gt;
*'''parent:''' This is the parent that the DGS button is attached to.  If the ''relative'' argument is true, sizes and positioning will be made relative to this parent. If the ''relative'' argument is false, positioning will be the number of offset pixels from the parent's origin. If no parent is passed, the parent will become the screen - causing positioning and sizing according to screen positioning.&lt;br /&gt;
*'''tabheight:''' It's the Height of your tabs, Default is 20.&lt;br /&gt;
*'''defbcolor:''' It's the Color of the backround.&lt;/div&gt;</summary>
		<author><name>Ridden</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=DgsCreateTabPanel&amp;diff=51928</id>
		<title>DgsCreateTabPanel</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=DgsCreateTabPanel&amp;diff=51928"/>
		<updated>2017-08-12T13:55:04Z</updated>

		<summary type="html">&lt;p&gt;Ridden: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This function allows creation of a DGS Tab Panel.&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
element dgsDxCreateTabPanel( float x, float y, float width, float height, bool relative, [ element parent = nil, element tabheight = 20, defbgcolor = ])&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==image==&lt;br /&gt;
[[Image:Mta-screen 2017-08-12 14-25-35.png|frame|Example DGS Tab Panel.]]&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''x:''' A float of the 2D x position of the DGS Tab Panel on a player's screen.  This is affected by the ''relative'' argument.&lt;br /&gt;
*'''y:''' A float of the 2D y position of the DGS Tab Panel on a player's screen. This is affected by the ''relative'' argument.&lt;br /&gt;
*'''width:''' A float of the width of the DGS Tab Panel. This is affected by the ''relative'' argument.&lt;br /&gt;
*'''height:''' A float of the height of the DGS Tab Panel. This is affected by the ''relative'' argument. Note: height must be enough to fit the drop down menu, else the drop down won't appear.&lt;br /&gt;
*'''relative:''' This is whether sizes and positioning are relative.  If this is ''true'', then all x,y,width,height floats must be between 0 and 1, representing sizes relative to the parent.&lt;/div&gt;</summary>
		<author><name>Ridden</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=DgsCreateTabPanel&amp;diff=51927</id>
		<title>DgsCreateTabPanel</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=DgsCreateTabPanel&amp;diff=51927"/>
		<updated>2017-08-12T13:54:36Z</updated>

		<summary type="html">&lt;p&gt;Ridden: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This function allows creation of a DGS Tab Panel.&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
element dgsDxCreateTabPanel( float x, float y, float width, float height, bool relative, [ element parent = nil, element tabheight = 20, defbgcolor = ])&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==image==&lt;br /&gt;
[[Image:Mta-screen 2017-08-12 14-25-35.png|frame|Example DGS Tab Panel.]]&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''x:''' A float of the 2D x position of the DGS Tab Panelon a player's screen.  This is affected by the ''relative'' argument.&lt;br /&gt;
*'''y:''' A float of the 2D y position of the DGS Tab Panel on a player's screen. This is affected by the ''relative'' argument.&lt;br /&gt;
*'''width:''' A float of the width of the DGS Tab Panel. This is affected by the ''relative'' argument.&lt;br /&gt;
*'''height:''' A float of the height of the DGS Tab Panel. This is affected by the ''relative'' argument. Note: height must be enough to fit the drop down menu, else the drop down won't appear.&lt;br /&gt;
*'''relative:''' This is whether sizes and positioning are relative.  If this is ''true'', then all x,y,width,height floats must be between 0 and 1, representing sizes relative to the parent.&lt;/div&gt;</summary>
		<author><name>Ridden</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=DgsCreateTabPanel&amp;diff=51926</id>
		<title>DgsCreateTabPanel</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=DgsCreateTabPanel&amp;diff=51926"/>
		<updated>2017-08-12T13:51:51Z</updated>

		<summary type="html">&lt;p&gt;Ridden: /* Syntax */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This function allows creation of a DGS Tab Panel.&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
element dgsDxCreateTabPanel( float x, float y, float width, float height, bool relative, [ element parent = nil, element tabheight = 20, defbgcolor = ])&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==image==&lt;br /&gt;
[[Image:Mta-screen 2017-08-12 14-25-35.png|frame|Example DGS Tab Panel.]]&lt;/div&gt;</summary>
		<author><name>Ridden</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=DgsCreateTabPanel&amp;diff=51925</id>
		<title>DgsCreateTabPanel</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=DgsCreateTabPanel&amp;diff=51925"/>
		<updated>2017-08-12T13:47:36Z</updated>

		<summary type="html">&lt;p&gt;Ridden: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This function allows creation of a DGS Tab Panel.&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
element dgsDxCreateTabPanel( float x, float y, float width, float height, bool relative, [ element parent = nil, element tabheight = 20, defbgcolor = )]&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
==image==&lt;br /&gt;
[[Image:Mta-screen 2017-08-12 14-25-35.png|frame|Example DGS Tab Panel.]]&lt;/div&gt;</summary>
		<author><name>Ridden</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=DgsCreateTabPanel&amp;diff=51924</id>
		<title>DgsCreateTabPanel</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=DgsCreateTabPanel&amp;diff=51924"/>
		<updated>2017-08-12T13:47:00Z</updated>

		<summary type="html">&lt;p&gt;Ridden: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This function allows creation of a DGS [[Tab Panel]].&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
element dgsDxCreateTabPanel( float x, float y, float width, float height, bool relative, [ element parent = nil, element tabheight = 20, defbgcolor = )]&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ridden</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=DgsCreateTabPanel&amp;diff=51923</id>
		<title>DgsCreateTabPanel</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=DgsCreateTabPanel&amp;diff=51923"/>
		<updated>2017-08-12T13:46:02Z</updated>

		<summary type="html">&lt;p&gt;Ridden: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This function allows creation of a DGS Tab Panel.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Mta-screen 2017-08-12 14-25-35.png|frame|Example DGS Tab Panel.]]&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
element dgsDxCreateTabPanel( float x, float y, float width, float height, bool relative, [ element parent = nil, element tabheight = 20, defbgcolor = )]&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ridden</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=DgsCreateTabPanel&amp;diff=51922</id>
		<title>DgsCreateTabPanel</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=DgsCreateTabPanel&amp;diff=51922"/>
		<updated>2017-08-12T13:45:47Z</updated>

		<summary type="html">&lt;p&gt;Ridden: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This function allows creation of a DGS Tab Panel.&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
element dgsDxCreateTabPanel( float x, float y, float width, float height, bool relative, [ element parent = nil, element tabheight = 20, defbgcolor = )]&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Mta-screen 2017-08-12 14-25-35.png|frame|Example DGS Tab Panel.]]&lt;/div&gt;</summary>
		<author><name>Ridden</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=File:Mta-screen_2017-08-12_14-25-35.png&amp;diff=51921</id>
		<title>File:Mta-screen 2017-08-12 14-25-35.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=File:Mta-screen_2017-08-12_14-25-35.png&amp;diff=51921"/>
		<updated>2017-08-12T13:44:27Z</updated>

		<summary type="html">&lt;p&gt;Ridden: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Ridden</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=DgsCreateTabPanel&amp;diff=51920</id>
		<title>DgsCreateTabPanel</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=DgsCreateTabPanel&amp;diff=51920"/>
		<updated>2017-08-12T13:43:39Z</updated>

		<summary type="html">&lt;p&gt;Ridden: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This function allows creation of a DGS Tab Panel.&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
element dgsDxCreateTabPanel( float x, float y, float width, float height, bool relative, [ element parent = nil, element tabheight = 20, defbgcolor = )]&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Mta-screen_2017-08-11_07-ssd43-55.jpg|frame|Example DGS ComboBox.]]&lt;/div&gt;</summary>
		<author><name>Ridden</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=DgsCreateTabPanel&amp;diff=51919</id>
		<title>DgsCreateTabPanel</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=DgsCreateTabPanel&amp;diff=51919"/>
		<updated>2017-08-12T13:40:59Z</updated>

		<summary type="html">&lt;p&gt;Ridden: Created page with &amp;quot;This function allows creation of a DGS Tab Panel.  ==Syntax==  &amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt; element dgsDxCreateTabPanel( float x, float y, float width, float height, bool rela...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This function allows creation of a DGS Tab Panel.&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
element dgsDxCreateTabPanel( float x, float y, float width, float height, bool relative, [ element parent = nil, element tabheight = 20, defbgcolor = )]&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ridden</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Resource:DGS&amp;diff=51906</id>
		<title>Resource:DGS</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Resource:DGS&amp;diff=51906"/>
		<updated>2017-08-11T09:20:41Z</updated>

		<summary type="html">&lt;p&gt;Ridden: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;pageclass class=&amp;quot;resource&amp;quot; subcaption=&amp;quot;Resource&amp;quot;&amp;gt;&amp;lt;/pageclass&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This is a resource designed to allow you create dx gui on the screen instead of the original gui.&lt;br /&gt;
&lt;br /&gt;
'''Full Name''' : Thisdp's DX Graphical User Interface System&lt;br /&gt;
&lt;br /&gt;
'''Author''' : thisdp&lt;br /&gt;
&lt;br /&gt;
'''State''' : OpenSource (WIP)&lt;br /&gt;
&lt;br /&gt;
'''GitHub Source''' : https://github.com/thisdp/dgs/tree/master&lt;br /&gt;
&lt;br /&gt;
=Features=&lt;br /&gt;
'''How it works?'''&lt;br /&gt;
&lt;br /&gt;
*DGS is just like the original gui system that is based on element system. I use a simple way that can make it easier to understand.&lt;br /&gt;
*DGS elements are rendered in &amp;quot;onClientRender&amp;quot;. There is two or more tables store DGS elements. When &amp;quot;onClientRender&amp;quot; is called, &amp;quot;for&amp;quot; loop will loop and calculate every DGS element.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''What's different?'''&lt;br /&gt;
&lt;br /&gt;
*This resource is based on dx* functions. It allows us to edit our gui and make it in customlization.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Update System'''&lt;br /&gt;
*It have an update system that can keep your DGS latest.&lt;br /&gt;
*When a newer version has been pushed, it will detected and notice you to update dgs.&lt;br /&gt;
*Execute &amp;quot;updatedgs&amp;quot; to check the least version and update your DGS.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Debug'''&lt;br /&gt;
&lt;br /&gt;
*You can enter debug mode by executing the command &amp;quot;debugdgs&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''DGS Type'''&lt;br /&gt;
&lt;br /&gt;
* Button (dgs-dxbutton): A button.&lt;br /&gt;
* Command (dgs-dxcmd): A command just like windows.&lt;br /&gt;
* Cyclehitshape (dgs-dxcyclehitshape): A check area that is cycle.&lt;br /&gt;
* Edit (dgs-dxedit): A edit.&lt;br /&gt;
* Gridlist (dgs-dxgridlist): A grid list.&lt;br /&gt;
* Image (dgs-dximage): A static image.&lt;br /&gt;
* Label (dgs-dxlabel): A text label.&lt;br /&gt;
* ScrollBar (dgs-dxscrollbar): A scroll bar.&lt;br /&gt;
* ScrollPane (dgs-dxscrollpane): A scroll pane.&lt;br /&gt;
* Tab Panel (dgs-dxtabpanel + dgs-dxtab) : A tab panel. &lt;br /&gt;
* Window (dgs-dxwindow): A window.&lt;br /&gt;
* Progress Bar (dgs-dxprogressbar): A Progress Bar.&lt;br /&gt;
* Radio Button (dgs-dxradiobutton): A Radio Button.&lt;br /&gt;
* Combo Box (dgs-dxcombobox + dgs-dxcombobox-Box) : A combo box.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Notice'''&lt;br /&gt;
*The resource name should be 'dgs'.&lt;br /&gt;
*This is a resource. If you want to use the functions exported by this resource, you should add something in front of the function like 'exports.dgs:dgsDxCreateLabel(0,0,0.5,0.1,&amp;quot;text&amp;quot;,true)'&lt;br /&gt;
*Here is a feasible way to shorten the name of an exported function:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
DGS = exports.dgs --shorten the export function prefix&lt;br /&gt;
label = DGS:dgsDxCreateLabel(0,0,0.5,0.1,&amp;quot;text&amp;quot;,false) --create a label&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Thanks for their helps''' :&lt;br /&gt;
*Axel: Gives some tips and provide some functions.&lt;br /&gt;
*Senpai: Helps write wiki.&lt;br /&gt;
*ZoNe: Helps write wiki.&lt;br /&gt;
*Ridden: Helps write wiki&lt;br /&gt;
&lt;br /&gt;
='''Client Functions'''=&lt;br /&gt;
{{DGSFUNCTIONS}}&lt;br /&gt;
&lt;br /&gt;
=Client Events=&lt;br /&gt;
{{DGSEVENTS}}&lt;br /&gt;
&lt;br /&gt;
=Last=&lt;br /&gt;
'''Welcome everyone else to made suggestions, tested the script, helped me to finish the wiki, etc'''&lt;br /&gt;
[[Category:Resource]]&lt;br /&gt;
&lt;br /&gt;
[[ZH-CN:Slothbot]]&lt;/div&gt;</summary>
		<author><name>Ridden</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=DgsCreateComboBox&amp;diff=51905</id>
		<title>DgsCreateComboBox</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=DgsCreateComboBox&amp;diff=51905"/>
		<updated>2017-08-11T09:13:31Z</updated>

		<summary type="html">&lt;p&gt;Ridden: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt; This function allows creation of a DGS ComboBox .&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
element dgsDxCreateComboBox( float x, float y, float width, float height, bool relative, [ element parent = nil, element itemheight = 20, int textcolor = 0xFF000000, float scalex = 1, float scaley = 1, element defimg = nil, element selimg = nil, element cliimg = nil, int defcolor = 0x0078C8C8, int hovcolor= 0xC8005AFF, int clicolor = 0xC8325AFA] )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
[[Image:Mta-screen_2017-08-11_07-43-55.jpg|frame|Example DGS ComboBox.]]&lt;br /&gt;
*'''x:''' A float of the 2D x position of the Dgs combobox on a player's screen.  This is affected by the ''relative'' argument.&lt;br /&gt;
*'''y:''' A float of the 2D y position of the Dgs combobox on a player's screen. This is affected by the ''relative'' argument.&lt;br /&gt;
*'''width:''' A float of the width of the Dgs combobox. This is affected by the ''relative'' argument.&lt;br /&gt;
*'''height:''' A float of the height of the Dgs combobox. This is affected by the ''relative'' argument. Note: height must be enough to fit the drop down menu, else the drop down won't appear.&lt;br /&gt;
*'''relative:''' This is whether sizes and positioning are relative.  If this is ''true'', then all x,y,width,height floats must be between 0 and 1, representing sizes relative to the parent.&lt;br /&gt;
===Optional Arguments=== &lt;br /&gt;
*'''parent:''' This is the parent that the GUI combobox is attached to.  &lt;br /&gt;
*'''item height:''' It's the height of the itemes&lt;br /&gt;
*''' textcolor:''' It's the Text Color used.&lt;br /&gt;
*''' scalex :''' It's the Text Scale X position.&lt;br /&gt;
*''' scaley :''' It's the Text Scale Y position.&lt;br /&gt;
*''' textcolor:''' It's the Text Color used.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
This example creates a combo box in the center of the screen.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
DGS = exports.dgs &lt;br /&gt;
addEventHandler(&amp;quot;onClientResourceStart&amp;quot;, resourceRoot,&lt;br /&gt;
    function()&lt;br /&gt;
       qiw = DGS:dgsDxCreateComboBox(0.29, 0.30, 0.44, 0.04, true)&lt;br /&gt;
	  showCursor(true) &lt;br /&gt;
    end&lt;br /&gt;
)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Example Create by :'''Ridden'''&lt;/div&gt;</summary>
		<author><name>Ridden</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=DgsCreateComboBox&amp;diff=51904</id>
		<title>DgsCreateComboBox</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=DgsCreateComboBox&amp;diff=51904"/>
		<updated>2017-08-11T09:13:16Z</updated>

		<summary type="html">&lt;p&gt;Ridden: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt; This function allows creation of a DGS ComboBox .&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
element dgsDxCreateComboBox( float x, float y, float width, float height, bool relative, [ element parent = nil, element itemheight = 20, int textcolor = 0xFF000000, float scalex = 1, float scaley = 1, element defimg = nil, element selimg = nil, element cliimg = nil, int defcolor = 0x0078C8C8, int hovcolor= 0xC8005AFF, int clicolor = 0xC8325AFA] )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
[[Image:Mta-screen_2017-08-11_07-43-55.jpg|frame|Example DGS ComboBox.]]&lt;br /&gt;
*'''x:''' A float of the 2D x position of the Dgs combobox on a player's screen.  This is affected by the ''relative'' argument.&lt;br /&gt;
*'''y:''' A float of the 2D y position of the Dgs combobox on a player's screen. This is affected by the ''relative'' argument.&lt;br /&gt;
*'''width:''' A float of the width of the Dgs combobox. This is affected by the ''relative'' argument.&lt;br /&gt;
*'''height:''' A float of the height of the Dgs combobox. This is affected by the ''relative'' argument. Note: height must be enough to fit the drop down menu, else the drop down won't appear.&lt;br /&gt;
*'''relative:''' This is whether sizes and positioning are relative.  If this is ''true'', then all x,y,width,height floats must be between 0 and 1, representing sizes relative to the parent.&lt;br /&gt;
===Optional Arguments=== &lt;br /&gt;
*'''parent:''' This is the parent that the GUI combobox is attached to.  &lt;br /&gt;
*'''item height:''' It's the height of the itemes&lt;br /&gt;
*''' textcolor:''' It's the Text Color used.&lt;br /&gt;
*''' scalex :''' It's the Text Scale X position.&lt;br /&gt;
*''' scaley :''' It's the Text Scale Y position.&lt;br /&gt;
*''' textcolor:''' It's the Text Color used.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
This example creates a combo box in the center of the screen.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
DGS = exports.dgs &lt;br /&gt;
addEventHandler(&amp;quot;onClientResourceStart&amp;quot;, resourceRoot,&lt;br /&gt;
    function()&lt;br /&gt;
       qiw = DGS:dgsDxCreateComboBox(0.29, 0.30, 0.44, 0.04, true)&lt;br /&gt;
	  showCursor(true) &lt;br /&gt;
    end&lt;br /&gt;
)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Example Create by :Ridden&lt;/div&gt;</summary>
		<author><name>Ridden</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=DgsCreateComboBox&amp;diff=51903</id>
		<title>DgsCreateComboBox</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=DgsCreateComboBox&amp;diff=51903"/>
		<updated>2017-08-11T09:12:29Z</updated>

		<summary type="html">&lt;p&gt;Ridden: /* Optional Arguments */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt; This function allows creation of a DGS ComboBox .&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
element dgsDxCreateComboBox( float x, float y, float width, float height, bool relative, [ element parent = nil, element itemheight = 20, int textcolor = 0xFF000000, float scalex = 1, float scaley = 1, element defimg = nil, element selimg = nil, element cliimg = nil, int defcolor = 0x0078C8C8, int hovcolor= 0xC8005AFF, int clicolor = 0xC8325AFA] )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
[[Image:Mta-screen_2017-08-11_07-43-55.jpg|frame|Example DGS ComboBox.]]&lt;br /&gt;
*'''x:''' A float of the 2D x position of the Dgs combobox on a player's screen.  This is affected by the ''relative'' argument.&lt;br /&gt;
*'''y:''' A float of the 2D y position of the Dgs combobox on a player's screen. This is affected by the ''relative'' argument.&lt;br /&gt;
*'''width:''' A float of the width of the Dgs combobox. This is affected by the ''relative'' argument.&lt;br /&gt;
*'''height:''' A float of the height of the Dgs combobox. This is affected by the ''relative'' argument. Note: height must be enough to fit the drop down menu, else the drop down won't appear.&lt;br /&gt;
*'''relative:''' This is whether sizes and positioning are relative.  If this is ''true'', then all x,y,width,height floats must be between 0 and 1, representing sizes relative to the parent.&lt;br /&gt;
===Optional Arguments=== &lt;br /&gt;
*'''parent:''' This is the parent that the GUI combobox is attached to.  &lt;br /&gt;
*'''item height:''' It's the height of the itemes&lt;br /&gt;
*''' textcolor:''' It's the Text Color used.&lt;br /&gt;
*''' scalex :''' It's the Text Scale X position.&lt;br /&gt;
*''' scaley :''' It's the Text Scale Y position.&lt;br /&gt;
*''' textcolor:''' It's the Text Color used.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
This example creates a combo box in the center of the screen with all server vehicles on it.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
DGS = exports.dgs &lt;br /&gt;
addEventHandler(&amp;quot;onClientResourceStart&amp;quot;, resourceRoot,&lt;br /&gt;
    function()&lt;br /&gt;
       qiw = DGS:dgsDxCreateComboBox(0.29, 0.30, 0.44, 0.04, true)&lt;br /&gt;
	  showCursor(true) &lt;br /&gt;
    end&lt;br /&gt;
)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ridden</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=DgsCreateComboBox&amp;diff=51902</id>
		<title>DgsCreateComboBox</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=DgsCreateComboBox&amp;diff=51902"/>
		<updated>2017-08-11T09:10:41Z</updated>

		<summary type="html">&lt;p&gt;Ridden: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt; This function allows creation of a DGS ComboBox .&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
element dgsDxCreateComboBox( float x, float y, float width, float height, bool relative, [ element parent = nil, element itemheight = 20, int textcolor = 0xFF000000, float scalex = 1, float scaley = 1, element defimg = nil, element selimg = nil, element cliimg = nil, int defcolor = 0x0078C8C8, int hovcolor= 0xC8005AFF, int clicolor = 0xC8325AFA] )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
[[Image:Mta-screen_2017-08-11_07-43-55.jpg|frame|Example DGS ComboBox.]]&lt;br /&gt;
*'''x:''' A float of the 2D x position of the Dgs combobox on a player's screen.  This is affected by the ''relative'' argument.&lt;br /&gt;
*'''y:''' A float of the 2D y position of the Dgs combobox on a player's screen. This is affected by the ''relative'' argument.&lt;br /&gt;
*'''width:''' A float of the width of the Dgs combobox. This is affected by the ''relative'' argument.&lt;br /&gt;
*'''height:''' A float of the height of the Dgs combobox. This is affected by the ''relative'' argument. Note: height must be enough to fit the drop down menu, else the drop down won't appear.&lt;br /&gt;
*'''relative:''' This is whether sizes and positioning are relative.  If this is ''true'', then all x,y,width,height floats must be between 0 and 1, representing sizes relative to the parent.&lt;br /&gt;
===Optional Arguments=== &lt;br /&gt;
*'''parent:''' This is the parent that the GUI combobox is attached to.  &lt;br /&gt;
*'''item height:''' It's the height of the itemes&lt;br /&gt;
*''' textcolor:''' It's the Text Color used.&lt;br /&gt;
*''' sX:''' It's the Text Scale X position.&lt;br /&gt;
*''' sY:''' It's the Text Scale Y position.&lt;br /&gt;
*''' textcolor:''' It's the Text Color used.&lt;br /&gt;
==Example==&lt;br /&gt;
This example creates a combo box in the center of the screen with all server vehicles on it.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
DGS = exports.dgs &lt;br /&gt;
addEventHandler(&amp;quot;onClientResourceStart&amp;quot;, resourceRoot,&lt;br /&gt;
    function()&lt;br /&gt;
       qiw = DGS:dgsDxCreateComboBox(0.29, 0.30, 0.44, 0.04, true)&lt;br /&gt;
	  showCursor(true) &lt;br /&gt;
    end&lt;br /&gt;
)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ridden</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=DgsCreateComboBox&amp;diff=51901</id>
		<title>DgsCreateComboBox</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=DgsCreateComboBox&amp;diff=51901"/>
		<updated>2017-08-11T09:03:35Z</updated>

		<summary type="html">&lt;p&gt;Ridden: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt; This function allows creation of a DGS ComboBox .&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
element dgsDxCreateComboBox( float x, float y, float width, float height, bool relative, [ element parent = nil, element itemheight = 20, int textcolor = 0xFF000000, float scalex = 1, float scaley = 1, element defimg = nil, element selimg = nil, element cliimg = nil, int defcolor = 0x0078C8C8, int hovcolor= 0xC8005AFF, int clicolor = 0xC8325AFA] )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
[[Image:Mta-screen_2017-08-11_07-43-55.jpg|frame|Example DGS ComboBox.]]&lt;br /&gt;
*'''x:''' A float of the 2D x position of the Dgs combobox on a player's screen.  This is affected by the ''relative'' argument.&lt;br /&gt;
*'''y:''' A float of the 2D y position of the Dgs combobox on a player's screen. This is affected by the ''relative'' argument.&lt;br /&gt;
*'''width:''' A float of the width of the Dgs combobox. This is affected by the ''relative'' argument.&lt;br /&gt;
*'''height:''' A float of the height of the Dgs combobox. This is affected by the ''relative'' argument. Note: height must be enough to fit the drop down menu, else the drop down won't appear.&lt;br /&gt;
*'''relative:''' This is whether sizes and positioning are relative.  If this is ''true'', then all x,y,width,height floats must be between 0 and 1, representing sizes relative to the parent.&lt;br /&gt;
===Optional Arguments=== &lt;br /&gt;
*'''parent:''' This is the parent that the GUI combobox is attached to.  &lt;br /&gt;
*'''item height:''' It's the height of the itemes&lt;br /&gt;
*''' textcolor:''' It's the Text Color used.&lt;br /&gt;
*''' sX:''' It's the Text Scale X position.&lt;br /&gt;
*''' sY:''' It's the Text Scale Y position.&lt;br /&gt;
*''' textcolor:''' It's the Text Color used.&lt;/div&gt;</summary>
		<author><name>Ridden</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=DgsCreateComboBox&amp;diff=51900</id>
		<title>DgsCreateComboBox</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=DgsCreateComboBox&amp;diff=51900"/>
		<updated>2017-08-11T08:58:49Z</updated>

		<summary type="html">&lt;p&gt;Ridden: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt; This function allows creation of a DGS ComboBox .&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
element dgsDxCreateComboBox( float x, float y, float width, float height, bool relative, [ element parent = nil, element itemheight = 20, int textcolor = 0xFF000000, float scalex = 1, float scaley = 1, element defimg = nil, element selimg = nil, element cliimg = nil, int defcolor = 0x0078C8C8, int hovcolor= 0xC8005AFF, int clicolor = 0xC8325AFA] )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
[[Image:Mta-screen_2017-08-11_07-43-55.jpg|frame|Example DGS ComboBox.]]&lt;br /&gt;
*'''x:''' A float of the 2D x position of the Dgs combobox on a player's screen.  This is affected by the ''relative'' argument.&lt;br /&gt;
*'''y:''' A float of the 2D y position of the Dgs combobox on a player's screen. This is affected by the ''relative'' argument.&lt;br /&gt;
*'''width:''' A float of the width of the Dgs combobox. This is affected by the ''relative'' argument.&lt;br /&gt;
*'''height:''' A float of the height of the Dgs combobox. This is affected by the ''relative'' argument. Note: height must be enough to fit the drop down menu, else the drop down won't appear.&lt;br /&gt;
*'''relative:''' This is whether sizes and positioning are relative.  If this is ''true'', then all x,y,width,height floats must be between 0 and 1, representing sizes relative to the parent.&lt;br /&gt;
===Optional Arguments=== &lt;br /&gt;
*'''parent:''' This is the parent that the GUI combobox is attached to.  &lt;br /&gt;
*'''item height:''' It's the height of the itemes&lt;br /&gt;
*''' textcolor:''' It's the Text Color used.&lt;/div&gt;</summary>
		<author><name>Ridden</name></author>
	</entry>
</feed>