<?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=ERAGON</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=ERAGON"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/wiki/Special:Contributions/ERAGON"/>
	<updated>2026-05-18T06:11:49Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=OnPedDamage&amp;diff=71910</id>
		<title>OnPedDamage</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=OnPedDamage&amp;diff=71910"/>
		<updated>2021-08-19T13:55:41Z</updated>

		<summary type="html">&lt;p&gt;ERAGON: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Server event}}&lt;br /&gt;
This event is triggered when a ped is killed or dies. It is not triggered for players.&lt;br /&gt;
&lt;br /&gt;
==Parameters==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;float deltaHealth&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*'''deltaHealth''': an [[int]] representing the delta between old ped health and new health (oldHealth - newHealth).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Source==&lt;br /&gt;
The [[event system#Event source|source]] of this event is the [[ped]] that got damaged.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
This example outputs to the console that the ped is now dead.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
ped1 = createPed(112, 0, 0, 0) --Create our Ped&lt;br /&gt;
function onDamaged(deltaHealth)&lt;br /&gt;
    outputConsole(&amp;quot;Your ped is damaged!&amp;quot;)&lt;br /&gt;
    outputConsole(&amp;quot;delta was: &amp;quot; .. tostring(deltaHealth))&lt;br /&gt;
end&lt;br /&gt;
addEventHandler(&amp;quot;onPedDamage&amp;quot;, ped1, onDamaged) --Add the Event when ped1 dies&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{See also/Server event|Ped events}}&lt;/div&gt;</summary>
		<author><name>ERAGON</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=OnPedDamage&amp;diff=71909</id>
		<title>OnPedDamage</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=OnPedDamage&amp;diff=71909"/>
		<updated>2021-08-19T13:54:31Z</updated>

		<summary type="html">&lt;p&gt;ERAGON: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Server event}}&lt;br /&gt;
This event is triggered when a ped is killed or dies. It is not triggered for players.&lt;br /&gt;
&lt;br /&gt;
==Parameters==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;float deltaHealth&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*'''deltaHealth''': an [[int]] representing the delta between old ped health and new health (oldHealth - newHealth).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Source==&lt;br /&gt;
The [[event system#Event source|source]] of this event is the [[ped]] that got damaged.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
This example outputs to the console that the ped is now dead.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
ped1 = createPed(112, 0, 0, 0) --Create our Ped&lt;br /&gt;
function onDamaged(delta)&lt;br /&gt;
    outputConsole(&amp;quot;Your ped is damaged!&amp;quot;)&lt;br /&gt;
    outputConsole(&amp;quot;delta was: &amp;quot; .. tostring(delta)&lt;br /&gt;
end&lt;br /&gt;
addEventHandler(&amp;quot;onPedDamage&amp;quot;, ped1, onDamaged) --Add the Event when ped1 dies&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{See also/Server event|Ped events}}&lt;/div&gt;</summary>
		<author><name>ERAGON</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=OnPedDamage&amp;diff=71908</id>
		<title>OnPedDamage</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=OnPedDamage&amp;diff=71908"/>
		<updated>2021-08-19T13:52:58Z</updated>

		<summary type="html">&lt;p&gt;ERAGON: Added onPedDamage event docs&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Server event}}&lt;br /&gt;
This event is triggered when a ped is killed or dies. It is not triggered for players.&lt;br /&gt;
&lt;br /&gt;
==Parameters==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;float healthDelta&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*'''deltaHealth''': an [[int]] representing the delta between old ped health and new health (oldHealth - newHealth).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Source==&lt;br /&gt;
The [[event system#Event source|source]] of this event is the [[ped]] that got damaged.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
This example outputs to the console that the ped is now dead.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
ped1 = createPed(112, 0, 0, 0) --Create our Ped&lt;br /&gt;
function onDamaged(delta)&lt;br /&gt;
    outputConsole(&amp;quot;Your ped is damaged!&amp;quot;)&lt;br /&gt;
    outputConsole(&amp;quot;delta was: &amp;quot; .. tostring(delta)&lt;br /&gt;
end&lt;br /&gt;
addEventHandler(&amp;quot;onPedDamage&amp;quot;, ped1, onDamaged) --Add the Event when ped1 dies&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{See also/Server event|Ped events}}&lt;/div&gt;</summary>
		<author><name>ERAGON</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=OnPedWasted&amp;diff=71907</id>
		<title>OnPedWasted</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=OnPedWasted&amp;diff=71907"/>
		<updated>2021-08-19T13:52:15Z</updated>

		<summary type="html">&lt;p&gt;ERAGON: Undo revision 71906 by ERAGON (talk)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Server event}}&lt;br /&gt;
This event is triggered when a ped is killed or dies. It is not triggered for players.&lt;br /&gt;
&lt;br /&gt;
==Parameters==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;int totalAmmo, element killer, int killerWeapon, int bodypart, bool stealth&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*'''totalAmmo''': an [[int]] representing the total ammo the victim had when he died.&lt;br /&gt;
*'''killer''': an [[element]] representing the player or vehicle who was the killer.  If there was no killer this is ''false''.&lt;br /&gt;
*'''killerWeapon''': an [[int]] representing the [[Weapons|killer weapon]] or the [[Damage Types|damage types]].&lt;br /&gt;
*'''bodypart''': an [[int]] representing the bodypart ID the victim was hit on when he died.&lt;br /&gt;
{{BodyParts}}&lt;br /&gt;
*'''stealth''': a [[boolean]] representing whether or not this was a stealth kill.&lt;br /&gt;
&lt;br /&gt;
==Source==&lt;br /&gt;
The [[event system#Event source|source]] of this event is the [[ped]] that died or got killed.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
This example outputs to the console that the ped is now dead.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
ped1 = createPed(112, 0, 0, 0) --Create our Ped&lt;br /&gt;
function died()&lt;br /&gt;
    outputConsole(&amp;quot;Your Ped is dead now!&amp;quot;)&lt;br /&gt;
end&lt;br /&gt;
addEventHandler(&amp;quot;onPedWasted&amp;quot;, ped1, died) --Add the Event when ped1 dies&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{See also/Server event|Ped events}}&lt;/div&gt;</summary>
		<author><name>ERAGON</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=OnPedWasted&amp;diff=71906</id>
		<title>OnPedWasted</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=OnPedWasted&amp;diff=71906"/>
		<updated>2021-08-19T13:51:12Z</updated>

		<summary type="html">&lt;p&gt;ERAGON: Added onPedDamage event docs&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Server event}}&lt;br /&gt;
This event is triggered when a ped is killed or dies. It is not triggered for players.&lt;br /&gt;
&lt;br /&gt;
==Parameters==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;float healthDelta&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*'''deltaHealth''': an [[int]] representing the delta between old ped health and new health (oldHealth - newHealth).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Source==&lt;br /&gt;
The [[event system#Event source|source]] of this event is the [[ped]] that got damaged.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
This example outputs to the console that the ped is now dead.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
ped1 = createPed(112, 0, 0, 0) --Create our Ped&lt;br /&gt;
function onDamaged(delta)&lt;br /&gt;
    outputConsole(&amp;quot;Your ped is damaged!&amp;quot;)&lt;br /&gt;
    outputConsole(&amp;quot;delta was: &amp;quot; .. tostring(delta)&lt;br /&gt;
end&lt;br /&gt;
addEventHandler(&amp;quot;onPedDamage&amp;quot;, ped1, onDamaged) --Add the Event when ped1 dies&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{See also/Server event|Ped events}}&lt;/div&gt;</summary>
		<author><name>ERAGON</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=User:ERAGON&amp;diff=71448</id>
		<title>User:ERAGON</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=User:ERAGON&amp;diff=71448"/>
		<updated>2021-07-15T15:27:43Z</updated>

		<summary type="html">&lt;p&gt;ERAGON: Created page with &amp;quot;thumb  Hello there :D  If you wanna see my projects to use/contribute to them visit my [https://github.com/ERAGON007 Github].  My Discord username: _ERAG...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:68738639.jpg|thumb]]&lt;br /&gt;
&lt;br /&gt;
Hello there :D&lt;br /&gt;
&lt;br /&gt;
If you wanna see my projects to use/contribute to them visit my [https://github.com/ERAGON007 Github].&lt;br /&gt;
&lt;br /&gt;
My Discord username: _ERAGON_#7608&lt;br /&gt;
&lt;br /&gt;
Telegram username: [https://t.me/Dev_Eragon @Dev_Eragon]&lt;/div&gt;</summary>
		<author><name>ERAGON</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=File:68738639.jpg&amp;diff=71447</id>
		<title>File:68738639.jpg</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=File:68738639.jpg&amp;diff=71447"/>
		<updated>2021-07-15T15:27:04Z</updated>

		<summary type="html">&lt;p&gt;ERAGON: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Eragon's avatar&lt;/div&gt;</summary>
		<author><name>ERAGON</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Dgs-dxmemo&amp;diff=71446</id>
		<title>Dgs-dxmemo</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Dgs-dxmemo&amp;diff=71446"/>
		<updated>2021-07-15T15:12:59Z</updated>

		<summary type="html">&lt;p&gt;ERAGON: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Dgs|DGS]] Properties is always used to change the gui style and make it more fantastic.&lt;br /&gt;
&lt;br /&gt;
This page shows the properties of dgs-dxmemo that you could use.&lt;br /&gt;
&lt;br /&gt;
==Main Functions==&lt;br /&gt;
*[[dgsSetProperty]]&lt;br /&gt;
*[[dgsGetProperty]]&lt;br /&gt;
&lt;br /&gt;
==Properties==&lt;br /&gt;
===allowCopy===&lt;br /&gt;
This property determines whether the content of memo can be copy(ctrl+c)/cut(ctrl+x)&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;dgsSetProperty(memo,&amp;quot;allowCopy&amp;quot;,allowCopy)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
*'''allowCopy:'''  A boolean value of the state of whether this memo allows users to copy something from it.&lt;br /&gt;
&lt;br /&gt;
===padding===&lt;br /&gt;
This property determines the content padding from 4 sides of element (left/top/right/bottom)&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;dgsSetProperty(memo,&amp;quot;padding&amp;quot;, {fromLeft/fromTop/fromRight/fromBottom})&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
*'''padding:'''  A table value contains the padding you want to apply&lt;br /&gt;
&lt;br /&gt;
===bgColor===&lt;br /&gt;
This property determines the background color of the memo.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;dgsSetProperty(memo,&amp;quot;bgColor&amp;quot;,bgColor)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
*'''bgColor:'''  An integer of the color that can be converted by [[tocolor]].&lt;br /&gt;
&lt;br /&gt;
===bgColorBlur===&lt;br /&gt;
This property determines the background color of the memo when it is blurred.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;dgsSetProperty(memo,&amp;quot;bgColorBlur&amp;quot;,bgColorBlur)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
*'''bgColorBlur:'''  An integer of the color that can be converted by [[tocolor]], leave to nil to use bgColor.&lt;br /&gt;
&lt;br /&gt;
===bgImage===&lt;br /&gt;
This property determines the background image of the memo.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;dgsSetProperty(memo,&amp;quot;bgImage&amp;quot;,bgImage)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
*'''bgImage:'''  A material element that serves as the background image of the memo (texture/shader/screen source/renderTarget).&lt;br /&gt;
&lt;br /&gt;
===bgImageBlur===&lt;br /&gt;
This property determines the background image of the memo when it is blurred.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;dgsSetProperty(memo,&amp;quot;bgImageBlur&amp;quot;,bgImageBlur)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
*'''bgImageBlur:'''  A material element that serves as the background image of the memo (texture/shader/screen source/renderTarget), leave to nil to use bgImage.&lt;br /&gt;
&lt;br /&gt;
===caretColor===&lt;br /&gt;
This property determines the color of the caret&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;dgsSetProperty(memo,&amp;quot;caretColor&amp;quot;,caretColor)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
*'''caretColor:'''  An integer of the color that can be converted by [[tocolor]].&lt;br /&gt;
&lt;br /&gt;
===caretHeight===&lt;br /&gt;
The height of the caret of the memo (multiple of the font height).&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;dgsSetProperty(memo,&amp;quot;caretHeight&amp;quot;,caretHeight)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
*'''caretHeight:''' A float of the caret height.&lt;br /&gt;
&lt;br /&gt;
===caretOffset===&lt;br /&gt;
The offset of the caret of the memo.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;dgsSetProperty(memo,&amp;quot;caretOffset&amp;quot;,{offsetX,offsetY})&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
*'''offsetX:'''  A float of the 2D X position offset of the caret of the memo.&lt;br /&gt;
*'''offsetY:'''  A float of the 2D Y position offset of the caret of the memo.&lt;br /&gt;
&lt;br /&gt;
===caretPos===&lt;br /&gt;
The position in which the caret stays.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;dgsSetProperty(memo,&amp;quot;caretPos&amp;quot;,{index,line})&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
*'''index:'''  An integer of the index of the text in current line of the memo.&lt;br /&gt;
*'''line:'''  An integer of the line of the memo.&lt;br /&gt;
&lt;br /&gt;
===caretStyle===&lt;br /&gt;
This is equivalent to [[dgsMemoSetCaretStyle]]/[[dgsMemoGetCaretStyle]].&lt;br /&gt;
&lt;br /&gt;
This property allows us to change the style of caret of the memo. ( 0 is &amp;quot;|&amp;quot;; 1 is &amp;quot;_&amp;quot; )&lt;br /&gt;
&lt;br /&gt;
Example(0):&lt;br /&gt;
&lt;br /&gt;
This is Text|&lt;br /&gt;
&lt;br /&gt;
Example(1):&lt;br /&gt;
&lt;br /&gt;
This is Text_&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;dgsSetProperty(memo,&amp;quot;caretStyle&amp;quot;,caretStyle)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
*'''caretStyle:'''  An integer of the caret style of the memo.&lt;br /&gt;
&lt;br /&gt;
===caretThick===&lt;br /&gt;
This property allows us to change the thickness of caret of the memo.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;dgsSetProperty(memo,&amp;quot;caretThick&amp;quot;,caretThick)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
*'''caretThick:'''  An integer of the thickness of the caret of the memo.&lt;br /&gt;
&lt;br /&gt;
===font===&lt;br /&gt;
This is equivalent to [[dgsSetFont]]/[[dgsGetFont]]. ''Learn More [[dxDrawText]]''&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;dgsSetProperty(memo,&amp;quot;font&amp;quot;,font)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
*'''font:'''  A [[Element/DX_font|dx font element]] of the text font of the memo.&lt;br /&gt;
&lt;br /&gt;
===memo===&lt;br /&gt;
This property stores a gui-memo which is used to input characters.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;dgsSetProperty(memo,&amp;quot;memo&amp;quot;,gmemo)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
*'''gmemo:'''  A gui-memo.&lt;br /&gt;
&lt;br /&gt;
===readOnly===&lt;br /&gt;
This is equivalent to [[dgsMemoSetReadOnly]]/[[dgsMemoGetReadOnly]].&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;dgsSetProperty(memo,&amp;quot;readOnly&amp;quot;,readOnly)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
*'''readOnly:'''  A bool indicates whether the memo is only readable.&lt;br /&gt;
&lt;br /&gt;
===readOnlyCaretShow===&lt;br /&gt;
Whether the caret of memo will show/hide under read-only mode.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;dgsSetProperty(memo,&amp;quot;readOnlyCaretShow&amp;quot;,readOnlyCaretShow)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
*'''readOnlyCaretShow:'''  A bool indicates whether the caret is shown or hidden when the memo is read-only.&lt;br /&gt;
&lt;br /&gt;
===renderTarget===&lt;br /&gt;
This property stores a render target of the memo.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;dgsSetProperty(memo,&amp;quot;renderTarget&amp;quot;,renderTarget)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
*'''renderTarget:'''  A render target that is used to render the text.&lt;br /&gt;
&lt;br /&gt;
===scrollbars===&lt;br /&gt;
This property stores two scroll bars which can be got by [[dgsMemoGetScrollBar]] of the memo.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;dgsSetProperty(memo,&amp;quot;scrollbars&amp;quot;,{Vertical,Horizontal})&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
*'''Vertical:'''  A vertical scroll bar of the memo.&lt;br /&gt;
*'''Horizontal:'''  A horizontal scroll bar of the memo.&lt;br /&gt;
&lt;br /&gt;
===scrollBarThick===&lt;br /&gt;
This property allows us to change the thickness of scroll bars of the memo.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;dgsSetProperty(memo,&amp;quot;scrollBarThick&amp;quot;,scrollBarThick)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
*'''scrollBarThick:'''  An integer of the thickness of scroll bars of the memo.&lt;br /&gt;
&lt;br /&gt;
===scrollSize===&lt;br /&gt;
This property determines how many lines will get scrolled out of the rendering area once when you are scrolling your mouse wheel.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;dgsSetProperty(memo,&amp;quot;scrollSize&amp;quot;,scrollSize)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
*'''scrollSize:'''  Lines to be scrolled.&lt;br /&gt;
&lt;br /&gt;
===selectColorBlur===&lt;br /&gt;
The color which can be translated by [[tocolor]] of the rectangle of text selection of the memo when blurred.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;dgsSetProperty(memo,&amp;quot;selectColorBlur&amp;quot;,selectColorBlur)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
*'''selectColorBlur:'''  An integer of the color of the rectangle of text selection of the memo when blurred.&lt;br /&gt;
&lt;br /&gt;
===selectColor===&lt;br /&gt;
The color which can be translated by [[tocolor]] of the rectangle of text selection of the memo.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;dgsSetProperty(memo,&amp;quot;selectColor&amp;quot;,selectColor)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
*'''selectColor:'''  An integer of the color of the rectangle of text selection of the memo.&lt;br /&gt;
&lt;br /&gt;
===selectFrom===&lt;br /&gt;
The position from which the text is selected.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;dgsSetProperty(memo,&amp;quot;selectFrom&amp;quot;,{index,line})&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
*'''index:'''  An integer of the index of the text in the line where the text is selected from of the memo.&lt;br /&gt;
*'''line:'''  An integer of the line where the text is selected from of the memo.&lt;br /&gt;
&lt;br /&gt;
===showLine===&lt;br /&gt;
This property stores the value of how many lines does the text move to top.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;dgsSetProperty(memo,&amp;quot;showLine&amp;quot;,line)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
*'''line:'''  An integer indicates how many lines does the text move to top.&lt;br /&gt;
&lt;br /&gt;
===showPos===&lt;br /&gt;
This property stores the value of how many pixels of the text are moved to left.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;dgsSetProperty(memo,&amp;quot;showPos&amp;quot;,posX)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
*'''posX:'''  An integer indicates how many pixels of the text are moved to left.&lt;br /&gt;
&lt;br /&gt;
===text===&lt;br /&gt;
This is equivalent to [[dgsSetText]]/[[dgsGetText]].&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;dgsSetProperty(memo,&amp;quot;text&amp;quot;,text)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
*'''text:'''  A ''table'' of the text of the memo.( Because of multi lines, I use table instead of string )&lt;br /&gt;
&lt;br /&gt;
===textColor===&lt;br /&gt;
The color which can be translated by [[tocolor]] of the text of the memo.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;dgsSetProperty(memo,&amp;quot;textColor&amp;quot;,textColor)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
*'''textColor:'''  An integer of the color of the text of the memo.&lt;br /&gt;
&lt;br /&gt;
===textLength===&lt;br /&gt;
This is for scroll bar detection. You had better not touch it.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;dgsSetProperty(memo,&amp;quot;textLength&amp;quot;,textlen)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
*'''textlen:'''  A table stores the length of text in every line.&lt;br /&gt;
&lt;br /&gt;
===textSize===&lt;br /&gt;
The scale of the text of the memo. ''Learn More [[dxDrawText]]''&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;dgsSetProperty(memo,&amp;quot;textSize&amp;quot;,{scaleX,scaleY})&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
*'''scaleX:'''  A float of the 2D X scale of the text of the memo.&lt;br /&gt;
*'''scaleY:'''  A float of the 2D Y scale of the text of the memo.&lt;br /&gt;
&lt;br /&gt;
===typingSound===&lt;br /&gt;
Typing sound, nil for disabled. This is equivalent to [[dgsMemoSetTypingSound]]/[[dgsMemoGetTypingSound]]&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;dgsSetProperty(memo,&amp;quot;typingSound&amp;quot;,typingSound)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
*'''typingSound:'''  A string of the path/url of typing sound.&lt;br /&gt;
&lt;br /&gt;
===typingSoundVolume===&lt;br /&gt;
Typing sound, nil for disabled. This is equivalent to [[dgsMemoSetTypingSoundVolume]]/[[dgsMemoGetTypingSoundVolume]]&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;dgsSetProperty(memo,&amp;quot;typingSoundVolume&amp;quot;,typingSoundVolume)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
*'''typingSoundVolume:'''  A float of the volume of the typing sound. Range is from 0.0 to 1.0. This can go above 1.0 for amplification.&lt;br /&gt;
&lt;br /&gt;
===wordWrap===&lt;br /&gt;
This property determines the word wrap state of dgs memo. This is equivalent to [[dgsMemoSetWordWrapState]]/[[dgsMemoGetWordWrapState]]&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;dgsSetProperty(memo,&amp;quot;wordWrap&amp;quot;,wordWrap)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
*'''wordWarp:'''  An integer or a bool of word wrap state, vaild state are as follows:&lt;br /&gt;
**'''false:''' Non-wordwrap&lt;br /&gt;
**'''1:''' Split via single character ( This will break a word into 2 parts )&lt;br /&gt;
**'''2:''' Split via word&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{DGSPROPERTIES}}&lt;/div&gt;</summary>
		<author><name>ERAGON</name></author>
	</entry>
</feed>