<?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=Capy</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=Capy"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/wiki/Special:Contributions/Capy"/>
	<updated>2026-04-29T23:30:09Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=GuiCreateMemo&amp;diff=28117</id>
		<title>GuiCreateMemo</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=GuiCreateMemo&amp;diff=28117"/>
		<updated>2011-11-19T02:15:03Z</updated>

		<summary type="html">&lt;p&gt;Capy: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Client function}}&lt;br /&gt;
This function creates a new GUI memo.  This is a multiline edit box in which the user can input text.&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
gui-memo guiCreateMemo ( float x, float y, float width, float height, string text, bool relative, [element parent = nil] )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
[[Image:Gui-memo.png|frame|Example GUI memo.]]&lt;br /&gt;
*'''x:''' A float of the 2D x position of the GUI memo 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 memo on a player's screen. This is affected by the ''relative'' argument.&lt;br /&gt;
*'''width:''' A float of the width of the GUI memo. This is affected by the ''relative'' argument.&lt;br /&gt;
*'''height:''' A float of the height of the GUI memo. This is affected by the ''relative'' argument.&lt;br /&gt;
*'''text:''' A string of the text that will be displayed by default in the memo.&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 measures relative to the parent.&lt;br /&gt;
&lt;br /&gt;
===Optional Arguments=== &lt;br /&gt;
{{OptionalArg}} &lt;br /&gt;
*'''parent:''' This is the parent that the GUI memo 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 gui-memo element of the created memo if it was successfully created, false otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
{{Client functions}}&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function cMemoFPlayer()&lt;br /&gt;
Window = guiCreateWindow(0.3664,0.2764,0.3508,0.3477,&amp;quot;GUI Window&amp;quot;,true)&lt;br /&gt;
      guiCreateMemo(17,79,414,246,&amp;quot;&amp;quot;,false,Window)&lt;br /&gt;
end&lt;br /&gt;
addEventHandler(&amp;quot;onClientResourceStart&amp;quot;, getRootElement(), cMemoFPlayer)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{GUI_functions}}&lt;/div&gt;</summary>
		<author><name>Capy</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=GuiCreateMemo&amp;diff=28116</id>
		<title>GuiCreateMemo</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=GuiCreateMemo&amp;diff=28116"/>
		<updated>2011-11-19T02:14:51Z</updated>

		<summary type="html">&lt;p&gt;Capy: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Client function}}&lt;br /&gt;
This function creates a new GUI memo.  This is a multiline edit box in which the user can input text.&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
gui-memo guiCreateMemo ( float x, float y, float width, float height, string text, bool relative, [element parent = nil] )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
[[Image:Gui-memo.png|frame|Example GUI memo.]]&lt;br /&gt;
*'''x:''' A float of the 2D x position of the GUI memo 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 memo on a player's screen. This is affected by the ''relative'' argument.&lt;br /&gt;
*'''width:''' A float of the width of the GUI memo. This is affected by the ''relative'' argument.&lt;br /&gt;
*'''height:''' A float of the height of the GUI memo. This is affected by the ''relative'' argument.&lt;br /&gt;
*'''text:''' A string of the text that will be displayed by default in the memo.&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 measures relative to the parent.&lt;br /&gt;
&lt;br /&gt;
===Optional Arguments=== &lt;br /&gt;
{{OptionalArg}} &lt;br /&gt;
*'''parent:''' This is the parent that the GUI memo 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 gui-memo element of the created memo if it was successfully created, false otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
{{Client functions}}&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function cMemoFPlayer()&lt;br /&gt;
Window = guiCreateWindow(0.3664,0.2764,0.3508,0.3477,&amp;quot;GUI Window&amp;quot;,true)&lt;br /&gt;
      guiCreateMemo(17,79,414,246,&amp;quot;&amp;quot;,false,Window[1])&lt;br /&gt;
end&lt;br /&gt;
addEventHandler(&amp;quot;onClientResourceStart&amp;quot;, getRootElement(), cMemoFPlayer)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{GUI_functions}}&lt;/div&gt;</summary>
		<author><name>Capy</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=GuiMemoSetReadOnly&amp;diff=28115</id>
		<title>GuiMemoSetReadOnly</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=GuiMemoSetReadOnly&amp;diff=28115"/>
		<updated>2011-11-19T02:08:38Z</updated>

		<summary type="html">&lt;p&gt;Capy: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Client function}}&lt;br /&gt;
__NOTOC__ &lt;br /&gt;
This function allows you to set or remove read-only status for a GUI memo. If read-only is set to ''true'', the contents are not editable.&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 guiMemoSetReadOnly ( gui-memo theMemo, bool status )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''theMemo:''' The memo to change read-only status of.&lt;br /&gt;
*'''status:''' A boolean value indicating whether read-only is to be enabled or disabled.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if the status was successfully changed, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
{{Client function}}&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function memoo()&lt;br /&gt;
    memo = guiCreateMemo(500, 500, 500, 500, &amp;quot;This is a memo&amp;quot;, false)-- We created a memo.&lt;br /&gt;
       guiMemoSetReadOnly(memo, true)--We made it read only.&lt;br /&gt;
end&lt;br /&gt;
addEventHandler(&amp;quot;onClientResourceStart&amp;quot;, getRootElement(), memoo)--We handle our memo.&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{GUI_functions}}&lt;/div&gt;</summary>
		<author><name>Capy</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=GuiCreateScrollBar&amp;diff=28114</id>
		<title>GuiCreateScrollBar</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=GuiCreateScrollBar&amp;diff=28114"/>
		<updated>2011-11-19T02:08:00Z</updated>

		<summary type="html">&lt;p&gt;Capy: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Client function}}&lt;br /&gt;
This function creates a GUI scrollbar. You can use the functions [[guiScrollPaneSetHorizontalScrollPosition]], [[guiScrollPaneSetVerticalScrollPosition]], [[guiScrollPaneGetHorizontalScrollPosition]] and [[guiScrollPaneGetVerticalScrollPosition]] to read and modify the scrollbar's scroll.&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
gui-scrollbar guiCreateScrollBar ( float x, float y, float width, float height, bool horizontal, bool relative, [gui-element parent = nil])&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
[[Image:gui-scrollbar.png|frame|Example GUI scrollbar.]]&lt;br /&gt;
*'''x:''' the 2D x offset of the GUI scrollbar from its parent.  This is affected by the ''relative'' argument.&lt;br /&gt;
*'''y:''' the 2D y offset of the GUI scrollbar from its parent. This is affected by the ''relative'' argument.&lt;br /&gt;
*'''width:''' the width of the GUI scrollbar. This is affected by the ''relative'' argument.&lt;br /&gt;
*'''height:''' the height of the GUI scrollbar. This is affected by the ''relative'' argument.&lt;br /&gt;
*'''horizontal:''' whether this scrollbar is horizontal (''true'') or vertical (''false'').&lt;br /&gt;
*'''relative:''' whether sizes and positions are relative to their parent's.  If this is ''true'', then all measures must be between 0 and 1, representing sizes/positions as a fraction of the parent widget's size.&lt;br /&gt;
&lt;br /&gt;
===Optional Arguments=== &lt;br /&gt;
*'''parent:''' the gui-element this scrollbar is attached to. By default, it is nil, meaning the widget is attached to the background.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns a ''gui-scrollbar'' if it was created successfully, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
{{Client function}}&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function scBar()&lt;br /&gt;
    Window = guiCreateWindow(0.3664,0.2764,0.3508,0.3477,&amp;quot;Window&amp;quot;,true)--We create a window.&lt;br /&gt;
          guiCreateScrollBar(15,81,24,245,false,false,Window)--We create a scrollbar as a child of 'Window'&lt;br /&gt;
end&lt;br /&gt;
addEventHandler(&amp;quot;onClientResourceStart&amp;quot;, getRootElement(), scBar) --We handle it with 'onClientResourceStart' event.&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{GUI_functions}}&lt;/div&gt;</summary>
		<author><name>Capy</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=GuiCreateScrollBar&amp;diff=28113</id>
		<title>GuiCreateScrollBar</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=GuiCreateScrollBar&amp;diff=28113"/>
		<updated>2011-11-19T02:07:18Z</updated>

		<summary type="html">&lt;p&gt;Capy: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Client function}}&lt;br /&gt;
This function creates a GUI scrollbar. You can use the functions [[guiScrollPaneSetHorizontalScrollPosition]], [[guiScrollPaneSetVerticalScrollPosition]], [[guiScrollPaneGetHorizontalScrollPosition]] and [[guiScrollPaneGetVerticalScrollPosition]] to read and modify the scrollbar's scroll.&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
gui-scrollbar guiCreateScrollBar ( float x, float y, float width, float height, bool horizontal, bool relative, [gui-element parent = nil])&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
[[Image:gui-scrollbar.png|frame|Example GUI scrollbar.]]&lt;br /&gt;
*'''x:''' the 2D x offset of the GUI scrollbar from its parent.  This is affected by the ''relative'' argument.&lt;br /&gt;
*'''y:''' the 2D y offset of the GUI scrollbar from its parent. This is affected by the ''relative'' argument.&lt;br /&gt;
*'''width:''' the width of the GUI scrollbar. This is affected by the ''relative'' argument.&lt;br /&gt;
*'''height:''' the height of the GUI scrollbar. This is affected by the ''relative'' argument.&lt;br /&gt;
*'''horizontal:''' whether this scrollbar is horizontal (''true'') or vertical (''false'').&lt;br /&gt;
*'''relative:''' whether sizes and positions are relative to their parent's.  If this is ''true'', then all measures must be between 0 and 1, representing sizes/positions as a fraction of the parent widget's size.&lt;br /&gt;
&lt;br /&gt;
===Optional Arguments=== &lt;br /&gt;
*'''parent:''' the gui-element this scrollbar is attached to. By default, it is nil, meaning the widget is attached to the background.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns a ''gui-scrollbar'' if it was created successfully, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
[[Category:Needs Example]]&lt;br /&gt;
{{Client function}}&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function scBar()&lt;br /&gt;
    Window = guiCreateWindow(0.3664,0.2764,0.3508,0.3477,&amp;quot;Window&amp;quot;,true)--We create a window.&lt;br /&gt;
          guiCreateScrollBar(15,81,24,245,false,false,Window)--We create a scrollbar as a child of 'Window'&lt;br /&gt;
end&lt;br /&gt;
addEventHandler(&amp;quot;onClientResourceStart&amp;quot;, getRootElement(), scBar) --We handle it with 'onClientResourceStart' event.&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{GUI_functions}}&lt;/div&gt;</summary>
		<author><name>Capy</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=GuiCreateScrollBar&amp;diff=28112</id>
		<title>GuiCreateScrollBar</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=GuiCreateScrollBar&amp;diff=28112"/>
		<updated>2011-11-19T02:03:24Z</updated>

		<summary type="html">&lt;p&gt;Capy: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Client function}}&lt;br /&gt;
This function creates a GUI scrollbar. You can use the functions [[guiScrollPaneSetHorizontalScrollPosition]], [[guiScrollPaneSetVerticalScrollPosition]], [[guiScrollPaneGetHorizontalScrollPosition]] and [[guiScrollPaneGetVerticalScrollPosition]] to read and modify the scrollbar's scroll.&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
gui-scrollbar guiCreateScrollBar ( float x, float y, float width, float height, bool horizontal, bool relative, [gui-element parent = nil])&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
[[Image:gui-scrollbar.png|frame|Example GUI scrollbar.]]&lt;br /&gt;
*'''x:''' the 2D x offset of the GUI scrollbar from its parent.  This is affected by the ''relative'' argument.&lt;br /&gt;
*'''y:''' the 2D y offset of the GUI scrollbar from its parent. This is affected by the ''relative'' argument.&lt;br /&gt;
*'''width:''' the width of the GUI scrollbar. This is affected by the ''relative'' argument.&lt;br /&gt;
*'''height:''' the height of the GUI scrollbar. This is affected by the ''relative'' argument.&lt;br /&gt;
*'''horizontal:''' whether this scrollbar is horizontal (''true'') or vertical (''false'').&lt;br /&gt;
*'''relative:''' whether sizes and positions are relative to their parent's.  If this is ''true'', then all measures must be between 0 and 1, representing sizes/positions as a fraction of the parent widget's size.&lt;br /&gt;
&lt;br /&gt;
===Optional Arguments=== &lt;br /&gt;
*'''parent:''' the gui-element this scrollbar is attached to. By default, it is nil, meaning the widget is attached to the background.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns a ''gui-scrollbar'' if it was created successfully, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
[[Category:Needs Example]]&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function scBar()&lt;br /&gt;
    Window = guiCreateWindow(0.3664,0.2764,0.3508,0.3477,&amp;quot;Window&amp;quot;,true)--We create a window.&lt;br /&gt;
          guiCreateScrollBar(15,81,24,245,false,false,Window)--We create a scrollbar as a child of 'Window'&lt;br /&gt;
end&lt;br /&gt;
addEventHandler(&amp;quot;onClientResourceStart&amp;quot;, getRootElement(), scBar) --We handle it with 'onClientResourceStart' event.&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{GUI_functions}}&lt;/div&gt;</summary>
		<author><name>Capy</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=GuiCreateScrollBar&amp;diff=28111</id>
		<title>GuiCreateScrollBar</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=GuiCreateScrollBar&amp;diff=28111"/>
		<updated>2011-11-19T02:02:59Z</updated>

		<summary type="html">&lt;p&gt;Capy: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Client function}}&lt;br /&gt;
This function creates a GUI scrollbar. You can use the functions [[guiScrollPaneSetHorizontalScrollPosition]], [[guiScrollPaneSetVerticalScrollPosition]], [[guiScrollPaneGetHorizontalScrollPosition]] and [[guiScrollPaneGetVerticalScrollPosition]] to read and modify the scrollbar's scroll.&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
gui-scrollbar guiCreateScrollBar ( float x, float y, float width, float height, bool horizontal, bool relative, [gui-element parent = nil])&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
[[Image:gui-scrollbar.png|frame|Example GUI scrollbar.]]&lt;br /&gt;
*'''x:''' the 2D x offset of the GUI scrollbar from its parent.  This is affected by the ''relative'' argument.&lt;br /&gt;
*'''y:''' the 2D y offset of the GUI scrollbar from its parent. This is affected by the ''relative'' argument.&lt;br /&gt;
*'''width:''' the width of the GUI scrollbar. This is affected by the ''relative'' argument.&lt;br /&gt;
*'''height:''' the height of the GUI scrollbar. This is affected by the ''relative'' argument.&lt;br /&gt;
*'''horizontal:''' whether this scrollbar is horizontal (''true'') or vertical (''false'').&lt;br /&gt;
*'''relative:''' whether sizes and positions are relative to their parent's.  If this is ''true'', then all measures must be between 0 and 1, representing sizes/positions as a fraction of the parent widget's size.&lt;br /&gt;
&lt;br /&gt;
===Optional Arguments=== &lt;br /&gt;
*'''parent:''' the gui-element this scrollbar is attached to. By default, it is nil, meaning the widget is attached to the background.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns a ''gui-scrollbar'' if it was created successfully, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
[[Category:Needs Example]]&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function scBar()&lt;br /&gt;
    Window = guiCreateWindow(0.3664,0.2764,0.3508,0.3477,&amp;quot;Window&amp;quot;,true)--We create a window.&lt;br /&gt;
          guiCreateScrollBar(15,81,24,245,false,Window)--We create a scrollbar as a child of 'Window'&lt;br /&gt;
end&lt;br /&gt;
addEventHandler(&amp;quot;onClientResourceStart&amp;quot;, getRootElement(), scBar) --We handle it with 'onClientResourceStart' event.&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{GUI_functions}}&lt;/div&gt;</summary>
		<author><name>Capy</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=GuiCreateScrollBar&amp;diff=28110</id>
		<title>GuiCreateScrollBar</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=GuiCreateScrollBar&amp;diff=28110"/>
		<updated>2011-11-19T02:02:31Z</updated>

		<summary type="html">&lt;p&gt;Capy: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Client function}}&lt;br /&gt;
This function creates a GUI scrollbar. You can use the functions [[guiScrollPaneSetHorizontalScrollPosition]], [[guiScrollPaneSetVerticalScrollPosition]], [[guiScrollPaneGetHorizontalScrollPosition]] and [[guiScrollPaneGetVerticalScrollPosition]] to read and modify the scrollbar's scroll.&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
gui-scrollbar guiCreateScrollBar ( float x, float y, float width, float height, bool horizontal, bool relative, [gui-element parent = nil])&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
[[Image:gui-scrollbar.png|frame|Example GUI scrollbar.]]&lt;br /&gt;
*'''x:''' the 2D x offset of the GUI scrollbar from its parent.  This is affected by the ''relative'' argument.&lt;br /&gt;
*'''y:''' the 2D y offset of the GUI scrollbar from its parent. This is affected by the ''relative'' argument.&lt;br /&gt;
*'''width:''' the width of the GUI scrollbar. This is affected by the ''relative'' argument.&lt;br /&gt;
*'''height:''' the height of the GUI scrollbar. This is affected by the ''relative'' argument.&lt;br /&gt;
*'''horizontal:''' whether this scrollbar is horizontal (''true'') or vertical (''false'').&lt;br /&gt;
*'''relative:''' whether sizes and positions are relative to their parent's.  If this is ''true'', then all measures must be between 0 and 1, representing sizes/positions as a fraction of the parent widget's size.&lt;br /&gt;
&lt;br /&gt;
===Optional Arguments=== &lt;br /&gt;
*'''parent:''' the gui-element this scrollbar is attached to. By default, it is nil, meaning the widget is attached to the background.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns a ''gui-scrollbar'' if it was created successfully, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
[[Category:Needs Example]]&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function scBar()&lt;br /&gt;
    Window = guiCreateWindow(0.3664,0.2764,0.3508,0.3477,&amp;quot;Window&amp;quot;,true)--We create a window.&lt;br /&gt;
         Scrollbar = guiCreateScrollBar(15,81,24,245,false,Window)--We create a scrollbar as a child of 'Window'&lt;br /&gt;
end&lt;br /&gt;
addEventHandler(&amp;quot;onClientResourceStart&amp;quot;, getRootElement(), scBar) --We handle it with 'onClientResourceStart' event.&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{GUI_functions}}&lt;/div&gt;</summary>
		<author><name>Capy</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=GuiMemoSetReadOnly&amp;diff=28108</id>
		<title>GuiMemoSetReadOnly</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=GuiMemoSetReadOnly&amp;diff=28108"/>
		<updated>2011-11-19T01:46:15Z</updated>

		<summary type="html">&lt;p&gt;Capy: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Client function}}&lt;br /&gt;
__NOTOC__ &lt;br /&gt;
This function allows you to set or remove read-only status for a GUI memo. If read-only is set to ''true'', the contents are not editable.&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 guiMemoSetReadOnly ( gui-memo theMemo, bool status )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''theMemo:''' The memo to change read-only status of.&lt;br /&gt;
*'''status:''' A boolean value indicating whether read-only is to be enabled or disabled.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if the status was successfully changed, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
[[Category:Needs Example]]&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function memoo()&lt;br /&gt;
    memo = guiCreateMemo(500, 500, 500, 500, &amp;quot;This is a memo&amp;quot;, false)-- We created a memo.&lt;br /&gt;
       guiMemoSetReadOnly(memo, true)--We made it read only.&lt;br /&gt;
end&lt;br /&gt;
addEventHandler(&amp;quot;onClientResourceStart&amp;quot;, getRootElement(), memoo)--We handle our memo.&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{GUI_functions}}&lt;/div&gt;</summary>
		<author><name>Capy</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=GuiMemoSetReadOnly&amp;diff=28107</id>
		<title>GuiMemoSetReadOnly</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=GuiMemoSetReadOnly&amp;diff=28107"/>
		<updated>2011-11-19T01:45:55Z</updated>

		<summary type="html">&lt;p&gt;Capy: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Client function}}&lt;br /&gt;
__NOTOC__ &lt;br /&gt;
This function allows you to set or remove read-only status for a GUI memo. If read-only is set to ''true'', the contents are not editable.&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 guiMemoSetReadOnly ( gui-memo theMemo, bool status )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''theMemo:''' The memo to change read-only status of.&lt;br /&gt;
*'''status:''' A boolean value indicating whether read-only is to be enabled or disabled.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if the status was successfully changed, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
[[Category:Needs Example]]&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function memo()&lt;br /&gt;
    memo = guiCreateMemo(500, 500, 500, 500, &amp;quot;This is a memo&amp;quot;, false)-- We created a memo.&lt;br /&gt;
       guiMemoSetReadOnly(memo, true)--We made it read only.&lt;br /&gt;
end&lt;br /&gt;
addEventHandler(&amp;quot;onClientResourceStart&amp;quot;, getRootElement(), memo)--We handle our memo.&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{GUI_functions}}&lt;/div&gt;</summary>
		<author><name>Capy</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=GuiMemoSetReadOnly&amp;diff=28106</id>
		<title>GuiMemoSetReadOnly</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=GuiMemoSetReadOnly&amp;diff=28106"/>
		<updated>2011-11-19T01:45:31Z</updated>

		<summary type="html">&lt;p&gt;Capy: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Client function}}&lt;br /&gt;
__NOTOC__ &lt;br /&gt;
This function allows you to set or remove read-only status for a GUI memo. If read-only is set to ''true'', the contents are not editable.&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 guiMemoSetReadOnly ( gui-memo theMemo, bool status )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''theMemo:''' The memo to change read-only status of.&lt;br /&gt;
*'''status:''' A boolean value indicating whether read-only is to be enabled or disabled.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if the status was successfully changed, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
[[Category:Needs Example]]&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function memo()&lt;br /&gt;
memo = guiCreateMemo(500, 500, 500, 500, &amp;quot;This is a memo&amp;quot;, false)-- We created a memo.&lt;br /&gt;
guiMemoSetReadOnly(memo, true)--We made it read only.&lt;br /&gt;
end&lt;br /&gt;
addEventHandler(&amp;quot;onClientResourceStart&amp;quot;, getRootElement(), memo)--We handle our memo.&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{GUI_functions}}&lt;/div&gt;</summary>
		<author><name>Capy</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=GuiMemoSetReadOnly&amp;diff=28105</id>
		<title>GuiMemoSetReadOnly</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=GuiMemoSetReadOnly&amp;diff=28105"/>
		<updated>2011-11-19T01:44:16Z</updated>

		<summary type="html">&lt;p&gt;Capy: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Client function}}&lt;br /&gt;
__NOTOC__ &lt;br /&gt;
This function allows you to set or remove read-only status for a GUI memo. If read-only is set to ''true'', the contents are not editable.&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 guiMemoSetReadOnly ( gui-memo theMemo, bool status )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''theMemo:''' The memo to change read-only status of.&lt;br /&gt;
*'''status:''' A boolean value indicating whether read-only is to be enabled or disabled.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if the status was successfully changed, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
[[Category:Needs Example]]&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function memo()&lt;br /&gt;
memo = guiCreateMemo(500, 500, 500, 500, &amp;quot;This is a memo&amp;quot;, false)-- We created a memo.&lt;br /&gt;
guiMemoSetReadOnly(false, true)--We made it read only.&lt;br /&gt;
end&lt;br /&gt;
addEventHandler(&amp;quot;onClientResourceStart&amp;quot;, getRootElement(), memo)--We handle our memo.&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{GUI_functions}}&lt;/div&gt;</summary>
		<author><name>Capy</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=GuiMemoSetReadOnly&amp;diff=28104</id>
		<title>GuiMemoSetReadOnly</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=GuiMemoSetReadOnly&amp;diff=28104"/>
		<updated>2011-11-19T01:43:48Z</updated>

		<summary type="html">&lt;p&gt;Capy: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Client function}}&lt;br /&gt;
__NOTOC__ &lt;br /&gt;
This function allows you to set or remove read-only status for a GUI memo. If read-only is set to ''true'', the contents are not editable.&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 guiMemoSetReadOnly ( gui-memo theMemo, bool status )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''theMemo:''' The memo to change read-only status of.&lt;br /&gt;
*'''status:''' A boolean value indicating whether read-only is to be enabled or disabled.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if the status was successfully changed, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
[[Category:Needs Example]]&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
Function memo()&lt;br /&gt;
memo = guiCreateMemo(500, 500, 500, 500, &amp;quot;This is a memo&amp;quot;, false)-- We created a memo.&lt;br /&gt;
guiMemoSetReadOnly(false, true)--We made it read only.&lt;br /&gt;
end&lt;br /&gt;
addEventHandler(&amp;quot;onClientResourceStart&amp;quot;, getRootElement(), memo)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{GUI_functions}}&lt;/div&gt;</summary>
		<author><name>Capy</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=GuiMemoSetReadOnly&amp;diff=28103</id>
		<title>GuiMemoSetReadOnly</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=GuiMemoSetReadOnly&amp;diff=28103"/>
		<updated>2011-11-19T01:42:56Z</updated>

		<summary type="html">&lt;p&gt;Capy: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Client function}}&lt;br /&gt;
__NOTOC__ &lt;br /&gt;
This function allows you to set or remove read-only status for a GUI memo. If read-only is set to ''true'', the contents are not editable.&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 guiMemoSetReadOnly ( gui-memo theMemo, bool status )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''theMemo:''' The memo to change read-only status of.&lt;br /&gt;
*'''status:''' A boolean value indicating whether read-only is to be enabled or disabled.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if the status was successfully changed, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
[[Category:Needs Example]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;Function memo()&lt;br /&gt;
memo = guiCreateMemo(500, 500, 500, 500, &amp;quot;This is a memo&amp;quot;, false)-- We created a memo.&lt;br /&gt;
guiMemoSetReadOnly(false, true)--We made it read only.&lt;br /&gt;
end&lt;br /&gt;
addEventHandler(&amp;quot;onClientResourceStart&amp;quot;, getRootElement(), memo)&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{GUI_functions}}&lt;/div&gt;</summary>
		<author><name>Capy</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=GuiMemoSetReadOnly&amp;diff=28102</id>
		<title>GuiMemoSetReadOnly</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=GuiMemoSetReadOnly&amp;diff=28102"/>
		<updated>2011-11-19T01:42:22Z</updated>

		<summary type="html">&lt;p&gt;Capy: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Client function}}&lt;br /&gt;
__NOTOC__ &lt;br /&gt;
This function allows you to set or remove read-only status for a GUI memo. If read-only is set to ''true'', the contents are not editable.&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 guiMemoSetReadOnly ( gui-memo theMemo, bool status )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''theMemo:''' The memo to change read-only status of.&lt;br /&gt;
*'''status:''' A boolean value indicating whether read-only is to be enabled or disabled.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if the status was successfully changed, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
[[Category:Needs Example]]&lt;br /&gt;
&lt;br /&gt;
Function memo()&lt;br /&gt;
memo = guiCreateMemo(500, 500, 500, 500, &amp;quot;This is a memo&amp;quot;, false)-- We created a memo.&lt;br /&gt;
guiMemoSetReadOnly(false, true)--We made it read only.&lt;br /&gt;
end&lt;br /&gt;
addEventHandler(&amp;quot;onClientResourceStart&amp;quot;, getRootElement(), memo)&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{GUI_functions}}&lt;/div&gt;</summary>
		<author><name>Capy</name></author>
	</entry>
</feed>