<?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=Valens</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=Valens"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/wiki/Special:Contributions/Valens"/>
	<updated>2026-04-22T10:48:18Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=DxGUI/dxSetAlwaysOnTop&amp;diff=37243</id>
		<title>DxGUI/dxSetAlwaysOnTop</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=DxGUI/dxSetAlwaysOnTop&amp;diff=37243"/>
		<updated>2013-10-01T18:59:52Z</updated>

		<summary type="html">&lt;p&gt;Valens: Created page with &amp;quot;This function brings a dxGUI element on top of others.  ==Syntax== &amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt; dxSetAlwaysOnTop( element dxElement, bool postGUI ) &amp;lt;/syntaxhighlight&amp;gt;  ===Required Arguments=== *'''dxEleme...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This function brings a dxGUI element on top of others.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
dxSetAlwaysOnTop( element dxElement, bool postGUI )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''dxElement:''' the dxGUI element that you want to move to the front. &lt;br /&gt;
*'''postGUI:''' the dxGUI element state. If this is true than the element will be on top&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
'''Example 1:''' This brings on top the window.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
window = exports.dxGUI_v1:dxCreateWindow(0,0,250,300,&amp;quot;Hello!&amp;quot;,white,&amp;quot;default-bold&amp;quot;,&amp;quot;Sath Metro [Green]&amp;quot;)&lt;br /&gt;
exports.dxGUI_v1:dxSetAlwaysOnTop(window, true)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Valens</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=DxGUI/dxCreateButton&amp;diff=37242</id>
		<title>DxGUI/dxCreateButton</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=DxGUI/dxCreateButton&amp;diff=37242"/>
		<updated>2013-10-01T15:39:15Z</updated>

		<summary type="html">&lt;p&gt;Valens: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This function is for creating a new dxGUI button.&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 dxCreateButton( float x, float y, float width, float height, string text,[element parent = nil, int color, string font, string theme] )&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 dxGUI window on a player's screen.&lt;br /&gt;
*'''y:''' A float of the 2D y position of the dxGUI window on a player's screen.&lt;br /&gt;
*'''width:''' A float of the width of the dxGUI window.&lt;br /&gt;
*'''height:''' A float of the height of the dxGUI window.&lt;br /&gt;
*'''text:''' A string of the text that will be displayed in the button.&lt;br /&gt;
*'''parent:''' This is the parent that the gui button is attached to.&lt;br /&gt;
*'''color:''' This the color of dxGUI: tocolor(255,255,255,255).&lt;br /&gt;
*'''font:''' This the font text of dxGUI titleBarText: &amp;quot;default-bold&amp;quot;.&lt;br /&gt;
*'''theme:''' This the theme of dxGUI: &amp;quot;Lighter Black&amp;quot;,&amp;quot;Lighter Blue&amp;quot;,&amp;quot;Orange&amp;quot; in themes.xml you can add more.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns a dxgui element of the created button if it was successfully created, false otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
'''Example 1:''' This example creates a button.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
exports.dxGUI_v1:dxCreateButton(0,0,250,300,&amp;quot;Hello!&amp;quot;,tocolor(255,0,0,255),&amp;quot;default-bold&amp;quot;,&amp;quot;Orange&amp;quot;)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Valens</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=DxGUI/dxCreateButton&amp;diff=37241</id>
		<title>DxGUI/dxCreateButton</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=DxGUI/dxCreateButton&amp;diff=37241"/>
		<updated>2013-10-01T15:37:42Z</updated>

		<summary type="html">&lt;p&gt;Valens: Created page with &amp;quot;==Syntax==  &amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt; element dxCreateButton( float x, float y, float width, float height, string text,[element parent = nil, int color, string font, string theme] ) &amp;lt;/syntaxhighlight&amp;gt; ...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
element dxCreateButton( float x, float y, float width, float height, string text,[element parent = nil, int color, string font, string theme] )&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 dxGUI window on a player's screen.&lt;br /&gt;
*'''y:''' A float of the 2D y position of the dxGUI window on a player's screen.&lt;br /&gt;
*'''width:''' A float of the width of the dxGUI window.&lt;br /&gt;
*'''height:''' A float of the height of the dxGUI window.&lt;br /&gt;
*'''text:''' A string of the text that will be displayed in the button.&lt;br /&gt;
*'''parent:''' This is the parent that the gui button is attached to.&lt;br /&gt;
*'''color:''' This the color of dxGUI: tocolor(255,255,255,255).&lt;br /&gt;
*'''font:''' This the font text of dxGUI titleBarText: &amp;quot;default-bold&amp;quot;.&lt;br /&gt;
*'''theme:''' This the theme of dxGUI: &amp;quot;Lighter Black&amp;quot;,&amp;quot;Lighter Blue&amp;quot;,&amp;quot;Orange&amp;quot; in themes.xml you can add more.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns a dxgui element of the created button if it was successfully created, false otherwise.&lt;/div&gt;</summary>
		<author><name>Valens</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Resource:DxGUI&amp;diff=37240</id>
		<title>Resource:DxGUI</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Resource:DxGUI&amp;diff=37240"/>
		<updated>2013-10-01T15:26:00Z</updated>

		<summary type="html">&lt;p&gt;Valens: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Resource page}}&lt;br /&gt;
'''Current Version: 1.4.4'''&lt;br /&gt;
&lt;br /&gt;
This page lists all the dxGUI framework functions and events. This will only work with [http://community.mtasa.com/index.php?p=resources&amp;amp;s=details&amp;amp;id=4871 this resource.]&lt;br /&gt;
&lt;br /&gt;
This system is created by Skyline (a.k.a laserlaser)&lt;br /&gt;
&lt;br /&gt;
dxGUI was made to create an enhanced, extensible user interface whilst keeping it user friendly. The GUI can also be designed with skins to make sure your users get the best content and design in your server.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
The installation is pretty simple. All you need to do is copy and paste the all things into your '''&amp;quot;resources&amp;quot;''' folder. dxGUI has exported functions, that make scripting GUI cleaner.&lt;br /&gt;
You can also download the '''&amp;quot;dxGUI Examples&amp;quot;''' from the MTA:SA Forums.&lt;br /&gt;
==Notice==&lt;br /&gt;
The exported functions has some extra parameters.To see them, you should go to the MTA:SA Forums.&lt;br /&gt;
&lt;br /&gt;
{{dxGUI_Functions}}&lt;/div&gt;</summary>
		<author><name>Valens</name></author>
	</entry>
</feed>