<?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=ZoNe</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=ZoNe"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/wiki/Special:Contributions/ZoNe"/>
	<updated>2026-06-02T21:11:13Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=DgsWindowSetMovable&amp;diff=51401</id>
		<title>DgsWindowSetMovable</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=DgsWindowSetMovable&amp;diff=51401"/>
		<updated>2017-06-28T13:04:07Z</updated>

		<summary type="html">&lt;p&gt;ZoNe: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Client function}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
This function allows you to specify whether or not a user can move a DGS 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 dgsDxWindowSetMovable ( element theElement, bool status )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''theElement:''' The window to be changed.&lt;br /&gt;
*'''status:''' A boolean value indicating whether the window is movable or not.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if the function is successful, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
This example creates a DGS window and sets it to be not movable&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
DGS = exports.dgs&lt;br /&gt;
function initialize ()&lt;br /&gt;
	-- Create a DGS window&lt;br /&gt;
	local window = DGS:dgsDxCreateWindow ( 0.50, 0.50, 0.25, 0.25, &amp;quot;Test&amp;quot;, true )&lt;br /&gt;
	-- set it to be not movable&lt;br /&gt;
	DGS:dgsDxWindowSetMovable ( window, false )&lt;br /&gt;
	-- Show cursor to check if our changes work fine&lt;br /&gt;
	showCursor ( true )&lt;br /&gt;
end&lt;br /&gt;
addEventHandler ( &amp;quot;onClientResourceStart&amp;quot;, resourceRoot, initialize )&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>ZoNe</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=DgsCloseWindow&amp;diff=51400</id>
		<title>DgsCloseWindow</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=DgsCloseWindow&amp;diff=51400"/>
		<updated>2017-06-28T13:01:04Z</updated>

		<summary type="html">&lt;p&gt;ZoNe: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Client function}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
This function allows you to close a DGS 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 dgsDxGUICloseWindow ( element theElement )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''theElement:''' The window to be closed.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if the window was closed, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
This example closes a previously created DGS window.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
DGS = exports.dgs&lt;br /&gt;
&lt;br /&gt;
-- Create a DGS window.&lt;br /&gt;
window = DGS:dgsDxCreateWindow ( 0.50, 0.50, 0.25, 0.25, &amp;quot;Test&amp;quot;, true ) &lt;br /&gt;
&lt;br /&gt;
function closeDgsGUI ()&lt;br /&gt;
	-- Close the DGS window.&lt;br /&gt;
	local close = DGS:dgsDxGUICloseWindow(window)&lt;br /&gt;
&lt;br /&gt;
	-- if the DGS window was closed output a message and hide the player's cursor.&lt;br /&gt;
	if close then&lt;br /&gt;
                -- Output a message saying that the DGS window was closed.&lt;br /&gt;
		outputChatBox(&amp;quot;DGS window closed!&amp;quot;)&lt;br /&gt;
		-- Hide cursor&lt;br /&gt;
		showCursor(false)&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
addCommandHandler(&amp;quot;close&amp;quot;, closeDgsGUI)&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>ZoNe</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=DgsWindowSetMovable&amp;diff=51399</id>
		<title>DgsWindowSetMovable</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=DgsWindowSetMovable&amp;diff=51399"/>
		<updated>2017-06-28T12:21:18Z</updated>

		<summary type="html">&lt;p&gt;ZoNe: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Client function}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
This function allows you to close a DGS 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 dgsDxGUICloseWindow ( element theElement )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''theElement:''' The window to be closed.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if the window was closed, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
This example closes a previously created DGS window.&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;
&lt;br /&gt;
-- Create a DGS window.&lt;br /&gt;
window = DGS:dgsDxCreateWindow ( 0.50, 0.50, 0.25, 0.25, &amp;quot;Test&amp;quot;, true ) &lt;br /&gt;
&lt;br /&gt;
function closeDgsGUI ()&lt;br /&gt;
	-- Close the DGS window.&lt;br /&gt;
	local close = DGS:dgsDxGUICloseWindow(window)&lt;br /&gt;
&lt;br /&gt;
	-- if the DGS window was closed output a message and hide the player's cursor.&lt;br /&gt;
	if close then&lt;br /&gt;
		-- Output a message saying that the window was closed.&lt;br /&gt;
		outputChatBox(&amp;quot;DGS window closed!&amp;quot;)&lt;br /&gt;
		-- Hide cursor&lt;br /&gt;
		showCursor(false)&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
addCommandHandler(&amp;quot;close&amp;quot;, closeDgsGUI)&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>ZoNe</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=DgsWindowSetMovable&amp;diff=51398</id>
		<title>DgsWindowSetMovable</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=DgsWindowSetMovable&amp;diff=51398"/>
		<updated>2017-06-28T12:20:48Z</updated>

		<summary type="html">&lt;p&gt;ZoNe: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Client function}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
This function allows you to close a DGS 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 dgsDxGUICloseWindow ( element theElement )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''theElement:''' The window to be closed.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if the window was closed, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
This example closes a previously created DGS window.&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;
&lt;br /&gt;
-- Create a DGS window.&lt;br /&gt;
window = DGS:dgsDxCreateWindow ( 0.50, 0.50, 0.25, 0.25, &amp;quot;Test&amp;quot;, true ) &lt;br /&gt;
&lt;br /&gt;
function closeDgsGUI ()&lt;br /&gt;
	-- Close the DGS window.&lt;br /&gt;
	local close = DGS:dgsDxGUICloseWindow(window)&lt;br /&gt;
&lt;br /&gt;
	-- if the DGS window was closed output a message and hide the player's cursor.&lt;br /&gt;
	if close then&lt;br /&gt;
		-- Output a message saying that he window was closed.&lt;br /&gt;
		outputChatBox(&amp;quot;DGS window closed!&amp;quot;)&lt;br /&gt;
		-- Hide cursor&lt;br /&gt;
		showCursor(false)&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
addCommandHandler(&amp;quot;close&amp;quot;, closeDgsGUI)&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>ZoNe</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=DgsWindowSetMovable&amp;diff=51397</id>
		<title>DgsWindowSetMovable</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=DgsWindowSetMovable&amp;diff=51397"/>
		<updated>2017-06-28T12:18:58Z</updated>

		<summary type="html">&lt;p&gt;ZoNe: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Client function}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
This function allows you to close a DGS 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 dgsDxGUICloseWindow ( element theElement )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''theElement:''' The window to be closed.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if the window was closed, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
This example closes a previously created DGS window.&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;
&lt;br /&gt;
-- Create a DGS window.&lt;br /&gt;
window = DGS:dgsDxCreateWindow ( 0.50, 0.50, 0.25, 0.25, &amp;quot;Test&amp;quot;, true ) &lt;br /&gt;
&lt;br /&gt;
function closeDgsGUI ()&lt;br /&gt;
	-- Close the DGS window.&lt;br /&gt;
	local close = DGS:dgsDxGUICloseWindow(window)&lt;br /&gt;
&lt;br /&gt;
	-- if the DGS window was closed output a message and hide the player's cursor.&lt;br /&gt;
	if close then&lt;br /&gt;
		outputChatBox(&amp;quot;DGS window closed!&amp;quot;)&lt;br /&gt;
		-- Hide cursor&lt;br /&gt;
		showCursor(false)&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
addCommandHandler(&amp;quot;close&amp;quot;, closeDgsGUI)&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>ZoNe</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=DgsCloseWindow&amp;diff=51396</id>
		<title>DgsCloseWindow</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=DgsCloseWindow&amp;diff=51396"/>
		<updated>2017-06-28T12:18:19Z</updated>

		<summary type="html">&lt;p&gt;ZoNe: Created page with &amp;quot;{{Client function}} __NOTOC__ This function allows you to close a DGS window.  ==Syntax==  &amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt; bool dgsDxGUICloseWindow ( element theElement ) &amp;lt;/synta...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Client function}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
This function allows you to close a DGS 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 dgsDxGUICloseWindow ( element theElement )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''theElement:''' The window to be closed.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if the window was closed, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
This example closes a previously created DGS window.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
DGS = exports.dgs&lt;br /&gt;
&lt;br /&gt;
-- Create a DGS window.&lt;br /&gt;
window = DGS:dgsDxCreateWindow ( 0.50, 0.50, 0.25, 0.25, &amp;quot;Test&amp;quot;, true ) &lt;br /&gt;
&lt;br /&gt;
function closeDgsGUI ()&lt;br /&gt;
	-- Close the DGS window.&lt;br /&gt;
	local close = DGS:dgsDxGUICloseWindow(window)&lt;br /&gt;
&lt;br /&gt;
	-- if the DGS window was closed output a message and hide the player's cursor.&lt;br /&gt;
	if close then&lt;br /&gt;
		outputChatBox(&amp;quot;DGS window closed!&amp;quot;)&lt;br /&gt;
		-- Hide cursor&lt;br /&gt;
		showCursor(false)&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
addCommandHandler(&amp;quot;close&amp;quot;, closeDgsGUI)&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>ZoNe</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=DgsWindowSetMovable&amp;diff=51393</id>
		<title>DgsWindowSetMovable</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=DgsWindowSetMovable&amp;diff=51393"/>
		<updated>2017-06-27T22:59:31Z</updated>

		<summary type="html">&lt;p&gt;ZoNe: Created page with &amp;quot;{{Client function}} __NOTOC__ This function allows you to specify whether or not a user can move a DGS window.  ==Syntax==  &amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt; bool dgsDxWindowSetMov...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Client function}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
This function allows you to specify whether or not a user can move a DGS 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 dgsDxWindowSetMovable ( element theElement, bool status )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''theElement:''' The window to be changed.&lt;br /&gt;
*'''status:''' A boolean value indicating whether the window is movable or not.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if the function is successful, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
This example creates a DGS window and sets it to be not movable&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
DGS = exports.dgs&lt;br /&gt;
function initialize ()&lt;br /&gt;
	-- Create a DGS window&lt;br /&gt;
	local window = DGS:dgsDxCreateWindow ( 0.50, 0.50, 0.25, 0.25, &amp;quot;Test&amp;quot;, true )&lt;br /&gt;
	-- set it to be not movable&lt;br /&gt;
	DGS:dgsDxWindowSetMovable ( window, false )&lt;br /&gt;
	-- Show cursor to check if our changes work fine&lt;br /&gt;
	showCursor ( true )&lt;br /&gt;
end&lt;br /&gt;
addEventHandler ( &amp;quot;onClientResourceStart&amp;quot;, resourceRoot, initialize )&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>ZoNe</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=OnDgsMouseClick&amp;diff=51392</id>
		<title>OnDgsMouseClick</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=OnDgsMouseClick&amp;diff=51392"/>
		<updated>2017-06-27T22:43:47Z</updated>

		<summary type="html">&lt;p&gt;ZoNe: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Client event}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
This event happens when any dgs-element clicked&lt;br /&gt;
{{Note|The '''player''' who clicked the dgs-element is always the [[localPlayer]].}}&lt;br /&gt;
&lt;br /&gt;
==Parameters== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
string button, string state, int absoluteX, int absoluteY&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
*'''button:''' the name of the button which will be clicked , it can be ''left'', ''right'', ''middle''&lt;br /&gt;
*'''state:''' the state of the mouse button, will be ''down'' if the mouse button was pushed, or ''up'' if it was released.  '''Please note currently both ''up'' and ''down'' state are supported that is different from ''onClientGUIClick''.'''&lt;br /&gt;
*'''absoluteX:''' the X position of the mouse cursor, in pixels, measured from the left side of the screen.&lt;br /&gt;
*'''absoluteY:''' the Y position of the mouse cursor, in pixels, measured from the top of the screen.&lt;br /&gt;
&lt;br /&gt;
==Source==&lt;br /&gt;
The [[event system#Event source|source]] of this event is the DGS element that was clicked.&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
This example creates an edit box alongside an &amp;quot;Output!&amp;quot; button. When the button is clicked with the left mouse button, it will output the message in the edit box into the chat box.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
DGS = exports.dgs&lt;br /&gt;
-- When client's resource starts, create the GUI&lt;br /&gt;
function initGUI( )&lt;br /&gt;
    -- Create our button&lt;br /&gt;
    btnOutput = DGS:dgsDxCreateButton( 0.7, 0.1, 0.2, 0.1, &amp;quot;Output!&amp;quot;, true )&lt;br /&gt;
&lt;br /&gt;
    -- And attach our button to the outputEditBox function&lt;br /&gt;
    addEventHandler ( &amp;quot;onClientDgsDxMouseClick&amp;quot;, btnOutput, outputEditBox )&lt;br /&gt;
&lt;br /&gt;
    -- Create an edit box and define it as &amp;quot;editBox&amp;quot;.&lt;br /&gt;
    editBox = DGS:dgsDxCreateEdit( 0.3, 0.1, 0.4, 0.1, &amp;quot;Type your message here!&amp;quot;, true )&lt;br /&gt;
end&lt;br /&gt;
addEventHandler( &amp;quot;onClientResourceStart&amp;quot;, getResourceRootElement( getThisResource( ) ), initGUI )&lt;br /&gt;
&lt;br /&gt;
-- Setup our function to output the message to the chatbox&lt;br /&gt;
function outputEditBox ( button )&lt;br /&gt;
    if button == &amp;quot;left&amp;quot; then&lt;br /&gt;
        local text = DGS:dgsDxGUIGetText( editBox )-- Get the text from the edit box&lt;br /&gt;
        outputChatBox ( text ) -- Output that text&lt;br /&gt;
    end&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
===DGS events===&lt;br /&gt;
{{DGSEVENTS}}&lt;br /&gt;
===Client event functions===&lt;br /&gt;
{{Client_event_functions}}&lt;/div&gt;</summary>
		<author><name>ZoNe</name></author>
	</entry>
</feed>