<?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=Yxvx</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=Yxvx"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/wiki/Special:Contributions/Yxvx"/>
	<updated>2026-06-28T11:20:01Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Resource:Px_Gui&amp;diff=82841</id>
		<title>Resource:Px Gui</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Resource:Px_Gui&amp;diff=82841"/>
		<updated>2026-06-28T03:57:14Z</updated>

		<summary type="html">&lt;p&gt;Yxvx: &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;
'''Pixel™ https://github.com/Pixel-TM/'''&lt;br /&gt;
----------------------------------&lt;br /&gt;
'''Soon'''&lt;br /&gt;
[[Category:Resource]]&lt;/div&gt;</summary>
		<author><name>Yxvx</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Resource:Px_Gui&amp;diff=82840</id>
		<title>Resource:Px Gui</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Resource:Px_Gui&amp;diff=82840"/>
		<updated>2026-06-28T03:53:56Z</updated>

		<summary type="html">&lt;p&gt;Yxvx: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Pixel™ https://github.com/Pixel-TM/'''&lt;br /&gt;
----------------------------------&lt;br /&gt;
'''Soon'''&lt;/div&gt;</summary>
		<author><name>Yxvx</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=File:Pixel%E2%84%A2.png&amp;diff=82839</id>
		<title>File:Pixel™.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=File:Pixel%E2%84%A2.png&amp;diff=82839"/>
		<updated>2026-06-28T03:47:06Z</updated>

		<summary type="html">&lt;p&gt;Yxvx: Pixel Team Logo // yx.vx, v_mk&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary ==&lt;br /&gt;
Pixel Team Logo // yx.vx, v_mk&lt;/div&gt;</summary>
		<author><name>Yxvx</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=GUI_Classes/Button:Create&amp;diff=82838</id>
		<title>GUI Classes/Button:Create</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=GUI_Classes/Button:Create&amp;diff=82838"/>
		<updated>2026-06-28T03:36:26Z</updated>

		<summary type="html">&lt;p&gt;Yxvx: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;pageclass class=&amp;quot;client&amp;quot; subcaption=&amp;quot;GUI Class method&amp;quot;&amp;gt;&amp;lt;/pageclass&amp;gt;&lt;br /&gt;
__NOTOC__ &lt;br /&gt;
&lt;br /&gt;
This function allows creation of a GUI Button, which is a clickable item as part of GUI.&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
buttonObject Button:Create ( float x, float y, float width, float height, string text, [ bool relative = false, element parent = nil ] )&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 GUI button 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 GUI button on a player's screen. This is affected by the ''relative'' argument.&lt;br /&gt;
*'''width:''' A float of the width of the GUI button. This is affected by the ''relative'' argument.&lt;br /&gt;
*'''height:''' A float of the height of the GUI button. This is affected by the ''relative'' argument.&lt;br /&gt;
*'''text:''' A string of the text that will be displayed as a label on the button.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Only include this section below if there are optional arguments --&amp;gt;&lt;br /&gt;
===Optional Arguments=== &lt;br /&gt;
{{OptionalArg}} &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;
*'''parent:''' This is the parent that the gui 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;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns a buttonObject if it was successfully created which then can use other methods, false otherwise.&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, it will output the message in the text box into the Chat Box.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
addEventHandler ( &amp;quot;onClientResourceStart&amp;quot;, getResourceRootElement(),&lt;br /&gt;
    function( )&lt;br /&gt;
        --create a button object&lt;br /&gt;
        local button = Button:Create( 0.7, 0.1, 0.2, 0.1, &amp;quot;Output!&amp;quot;, true );&lt;br /&gt;
        --Create a TextBox (formally edit box)&lt;br /&gt;
        textBox = TextBox:Create( 0.3, 0.1, 0.4, 0.1, &amp;quot;Type your message here!&amp;quot;, true )&lt;br /&gt;
        textBox:MaxLength( 128 ) --the max chatbox length is 128, so force this&lt;br /&gt;
&lt;br /&gt;
        -- and attach the outputTextBox function to the button&lt;br /&gt;
        button:AddOnClick( outputTextBox );&lt;br /&gt;
    end&lt;br /&gt;
)&lt;br /&gt;
--setup our function to output the message to the chatbox&lt;br /&gt;
function outputTextBox( )&lt;br /&gt;
        local text = textBox:Text( ) --get the text from the TextBox&lt;br /&gt;
        outputChatBox ( text ) --output that text&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
[[GUI_Classes|Back to GUI Classes page]]&lt;br /&gt;
{{GUI_Classes_allfunctions}}&lt;/div&gt;</summary>
		<author><name>Yxvx</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=GUI_Classes/Button:Create&amp;diff=82837</id>
		<title>GUI Classes/Button:Create</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=GUI_Classes/Button:Create&amp;diff=82837"/>
		<updated>2026-06-28T03:36:13Z</updated>

		<summary type="html">&lt;p&gt;Yxvx: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;pageclass class=&amp;quot;client&amp;quot; subcaption=&amp;quot;GUI Class method&amp;quot;&amp;gt;&amp;lt;/pageclass&amp;gt;&lt;br /&gt;
__NOTOC__ &lt;br /&gt;
&lt;br /&gt;
This function allows creation of a GUI Button, which is a clickable item as part of GUI.&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
buttonObject Button:Create ( float x, float y, float width, float height, string text, [ bool relative = false, element parent = nil ] )&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 GUI button 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 GUI button on a player's screen. This is affected by the ''relative'' argument.&lt;br /&gt;
*'''width:''' A float of the width of the GUI button. This is affected by the ''relative'' argument.&lt;br /&gt;
*'''height:''' A float of the height of the GUI button. This is affected by the ''relative'' argument.&lt;br /&gt;
*'''text:''' A string of the text that will be displayed as a label on the button.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Only include this section below if there are optional arguments --&amp;gt;&lt;br /&gt;
===Optional Arguments=== &lt;br /&gt;
{{OptionalArg}} &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;
*'''parent:''' This is the parent that the gui 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;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns a buttonObject if it was successfully created which then can use other methods, false otherwise.&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, it will output the message in the text box into the Chat Box.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
addEventHandler ( &amp;quot;onClientResourceStart&amp;quot;, getResourceRootElement(),&lt;br /&gt;
    function( )&lt;br /&gt;
        --create a button object&lt;br /&gt;
        local button = Button:Create( 0.7, 0.1, 0.2, 0.1, &amp;quot;Output!&amp;quot;, true );&lt;br /&gt;
        --Create a TextBox (formally edit box)&lt;br /&gt;
        textBox = TextBox:Create( 0.3, 0.1, 0.4, 0.1, &amp;quot;Type your message here!&amp;quot;, true )&lt;br /&gt;
        textBox:MaxLength( 128 ) --the max chatbox length is 128, so force this&lt;br /&gt;
&lt;br /&gt;
        -- and attach the outputTextBox function to the button&lt;br /&gt;
        button:AddOnClick( outputTextBox );&lt;br /&gt;
    end&lt;br /&gt;
)&lt;br /&gt;
--setup our function to output the message to the chatbox&lt;br /&gt;
function outputTextBox( )&lt;br /&gt;
        local text = textBox:Text( ) --get the text from the TextBox Test&lt;br /&gt;
        outputChatBox ( text ) --output that text&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
[[GUI_Classes|Back to GUI Classes page]]&lt;br /&gt;
{{GUI_Classes_allfunctions}}&lt;/div&gt;</summary>
		<author><name>Yxvx</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Px_Gui&amp;diff=82836</id>
		<title>Px Gui</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Px_Gui&amp;diff=82836"/>
		<updated>2026-06-28T03:31:42Z</updated>

		<summary type="html">&lt;p&gt;Yxvx: Redirected page to Resource:Px Gui&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[Resource:Px_Gui]]&lt;/div&gt;</summary>
		<author><name>Yxvx</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Px&amp;diff=82835</id>
		<title>Px</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Px&amp;diff=82835"/>
		<updated>2026-06-28T03:31:13Z</updated>

		<summary type="html">&lt;p&gt;Yxvx: Redirected page to Resource:Px Gui&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[Resource:Px_Gui]]&lt;/div&gt;</summary>
		<author><name>Yxvx</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Resource:Px_Gui&amp;diff=82834</id>
		<title>Resource:Px Gui</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Resource:Px_Gui&amp;diff=82834"/>
		<updated>2026-06-28T02:01:52Z</updated>

		<summary type="html">&lt;p&gt;Yxvx: Created page with &amp;quot;Pixel™ https://github.com/Pixel-TM/&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Pixel™ https://github.com/Pixel-TM/&lt;/div&gt;</summary>
		<author><name>Yxvx</name></author>
	</entry>
</feed>