<?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=FlyingFork</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=FlyingFork"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/wiki/Special:Contributions/FlyingFork"/>
	<updated>2026-05-01T01:19:48Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Resource:DGS&amp;diff=69749</id>
		<title>Resource:DGS</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Resource:DGS&amp;diff=69749"/>
		<updated>2021-04-07T17:26:28Z</updated>

		<summary type="html">&lt;p&gt;FlyingFork: &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;
[[Image:DGS_Logo.png|400px|thumb|right|DGS Logo By [[User:Allerek|Allerek]]]]&lt;br /&gt;
This resource is designed to allow you to create directX GUI's as an alternative to the original MTA:SA GUI functions.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;padding:10px; border-radius:2px;font-size:14px;&amp;quot;&amp;gt;&lt;br /&gt;
'''Full Name''': Thisdp's DirectX Graphical User Interface System (DxGUI Lib)&lt;br /&gt;
&lt;br /&gt;
'''Developer''': [[User:thisdp|thisdp]], [[User:XNawaf|xLive]]&lt;br /&gt;
&lt;br /&gt;
'''State''': &amp;lt;span style=&amp;quot;color:#FFFFFF;text-shadow:black 0em 0em 0.3em;&amp;quot;&amp;gt;OpenSource&amp;lt;/span&amp;gt; &amp;amp; &amp;lt;span style=&amp;quot;color:#55FF55;text-shadow:black 0em 0em 0.3em;&amp;quot;&amp;gt;Work in progress&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''GitHub Source''': https://github.com/thisdp/dgs/tree/master&lt;br /&gt;
&lt;br /&gt;
'''Server Discord''': https://discord.gg/QEs8q6W&lt;br /&gt;
&lt;br /&gt;
'''Current Version''': 3.506&lt;br /&gt;
&lt;br /&gt;
'''Update Log''': [[DGS Updates Log|Changes and Updates Log]]&lt;br /&gt;
&lt;br /&gt;
'''Syntax Highlighting''':&lt;br /&gt;
&lt;br /&gt;
*Visual Studio Code, made by [BW]~ERAGON &amp;gt; https://marketplace.visualstudio.com/items?itemName=ERAGON.mtasa-dgs-lua &lt;br /&gt;
*Notepad, made by thisdp &amp;gt; https://drive.google.com/file/d/1H_PiG2gmEz1AyXqZN4956IVgtZOjgMi6/view?usp=sharing&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Features=&lt;br /&gt;
&lt;br /&gt;
[[Image:DGSNetStatus.png|300px|thumb|right|DGS Network Monitor]]&lt;br /&gt;
&lt;br /&gt;
[[Image:DGSS.png|400px|thumb|right|]] &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''How does it work?'''&lt;br /&gt;
*DGS is based on [[element]] system, which just likes the cegui system. To make DGS easier to use and understand, I choose to follow the usage of cegui's.&lt;br /&gt;
*DGS supports OOP syntax, if you don't like POP, then use OOP instead. But you should know that OOP is slower than POP.&lt;br /&gt;
*DGS elements are rendered in the event &amp;quot;onClientRender&amp;quot;. When &amp;quot;onClientRender&amp;quot; is called, every DGS elements will be looped and calculated.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''What's different from cegui?'''&lt;br /&gt;
*This resource is based on dx* functions, so its style will be more flexible than cegui, which means you can define the style by yourself.&lt;br /&gt;
*The latest '''Style System''' enables developer to define their own style such as changing color, loading images and even loading shaders with dgs elements on the server instead of using a lot of [[dgsSetProperty]]/[[dgsSetProperties]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Update System'''&lt;br /&gt;
*It have an update system that can inform you of keeping your DGS latest.&lt;br /&gt;
*When a newer version has been released, it will detecte the version changing periodically and then notice you.&lt;br /&gt;
*Execute command &amp;quot;'''updatedgs'''&amp;quot; to check the least version and update your DGS.&lt;br /&gt;
*Also, you can check the version of DGS by inputting the command &amp;quot;dgsver&amp;quot; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''You Should Know'''&lt;br /&gt;
*This project was started from 2014.&lt;br /&gt;
*Some of DGS elements use '''Render Target''', which means if you don't have enough video memory, '''Render Target won't be created''', and therefore those dgs elements won't be shown.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Dx_7.PNG|400px|thumb|right|Example DGS Cmd]] &lt;br /&gt;
&lt;br /&gt;
'''Examples scripts'''&lt;br /&gt;
*1.https://community.multitheftauto.com/index.php?p=resources&amp;amp;s=details&amp;amp;id=14757 By ([[User:Ahmed Ly|Ahmed Ly]] ,Mahmod Algeriany)&lt;br /&gt;
*2. Also File test.lua its have more Examples You can See it .&lt;br /&gt;
*3. This Video show you how to play a video by using Dgs https://www.youtube.com/watch?v=ZIq24zS5byI&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Auto Completion'''&lt;br /&gt;
&lt;br /&gt;
DGS Official Auto Completion:&lt;br /&gt;
*Use the following command in server console to crawl and generate the latest auto completion (Only support notepad++/sumlime).&lt;br /&gt;
*'''g2d -crawl npp/sublime'''&lt;br /&gt;
&lt;br /&gt;
3rd Party Auto Completion:&lt;br /&gt;
*1. Link: http://www.mediafire.com/file/m6dm7815d5dihax/lua.zip  By [[User:Ahmed Ly|Ahmed Ly]] &lt;br /&gt;
*2. '''Note''': You must put it in file Notepad++\plugins\APIs.&lt;br /&gt;
*3. Not all of DGS Functions are added, but the rest will be added soon.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Debug'''&lt;br /&gt;
* You can enter the debug mode by executing the command &amp;quot;'''debugdgs'''&amp;quot;.&lt;br /&gt;
* &amp;quot;'''debugdgs 2 '''&amp;quot;: To see dgs elements' scale with a rainbow border&lt;br /&gt;
* &amp;quot;'''debugdgs 3 '''&amp;quot;: To trace where the dgs elements' were created.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''DGS Type'''&lt;br /&gt;
[[Image:Dx Dgs.jpg|400px|thumb|right|Hurt World GUI Example]]&lt;br /&gt;
Basic Types:&lt;br /&gt;
* 3D Image (dgs-dx3dimage)&lt;br /&gt;
* 3D Interface (dgs-dx3dinterface)&lt;br /&gt;
* 3D Line (dgs-dx3dline)&lt;br /&gt;
* 3D Text(dgs-dx3dtext)&lt;br /&gt;
* Browser (dgs-browser)&lt;br /&gt;
* Button (dgs-dxbutton)&lt;br /&gt;
* Check Box (dgs-dxcheckbox)&lt;br /&gt;
* Combo Box (dgs-dxcombobox + dgs-dxcombobox-Box)&lt;br /&gt;
* Custom Renderer (dgs-dxcustomrenderer)&lt;br /&gt;
* Detect Area (dgs-dxdetectarea)&lt;br /&gt;
* Edit (dgs-dxedit)&lt;br /&gt;
* Gridlist (dgs-dxgridlist)&lt;br /&gt;
* Image (dgs-dximage)&lt;br /&gt;
* Label (dgs-dxlabel)&lt;br /&gt;
* Media Browser (dgs-dxmedia)&lt;br /&gt;
* Memo (dgs-dxmemo)&lt;br /&gt;
* Progress Bar (dgs-dxprogressbar)&lt;br /&gt;
* Radio Button (dgs-dxradiobutton)&lt;br /&gt;
* Scale Pane (dgs-dxscalepane)&lt;br /&gt;
* Scroll Bar (dgs-dxscrollbar)&lt;br /&gt;
* Scroll Pane (dgs-dxscrollpane)&lt;br /&gt;
* Selector (dgs-dxselector)&lt;br /&gt;
* Switch Button(dgs-dxswitchbutton)&lt;br /&gt;
* Tab Panel (dgs-dxtabpanel + dgs-dxtab)&lt;br /&gt;
* Window (dgs-dxwindow)&lt;br /&gt;
&lt;br /&gt;
Plugins:&lt;br /&gt;
* Blur Box (dgs-dxblurbox)&lt;br /&gt;
* Canvas (dgs-dxcanvas)&lt;br /&gt;
* Circle (dgs-dxcircle)&lt;br /&gt;
* Color Picker (dgs-dxcolorpicker + dgs-dxcomponentselector)&lt;br /&gt;
* Effect 3D (dgs-dxeffect3d)&lt;br /&gt;
* Mask (dgs-dxmask)&lt;br /&gt;
* Media Browser (dgs-dxmediabrowser)&lt;br /&gt;
* Nine Slice (dgs-dxnineslice)&lt;br /&gt;
* Object Preview Supports (dgs-dxobjectpreviewhandle)&lt;br /&gt;
* Paste Handler (dgs-dxpastehandler)&lt;br /&gt;
* QRCode (dgs-dxqrcode)&lt;br /&gt;
* Remote Image (dgs-dxremoteimage)&lt;br /&gt;
* Rounded Rectangle (dgs-dxroundrect)&lt;br /&gt;
&lt;br /&gt;
'''Notice'''&lt;br /&gt;
*It is recommended to change the resource name to 'dgs'.&lt;br /&gt;
*This is a resource, if you want to use the functions exported by this resource,  you should use an exported function prefix ('''exports.dgs:''') call in your code, such as&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
label = exports.dgs:dgsCreateLabel(0, 0, 0.5, 0.1, &amp;quot;text&amp;quot;, true)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
*Here is a feasible way to shorten the name of an exported function:&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;
label = DGS:dgsCreateLabel(0,0,0.5,0.1,&amp;quot;text&amp;quot;,true) --create a label&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
*From the latest version, it no longer needs '''exports.dgs:''', instead we can do&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
loadstring(exports.dgs:dgsImportFunction())()-- load functions&lt;br /&gt;
label = dgsCreateLabel(0,0,0.5,0.1,&amp;quot;text&amp;quot;,true) --create a label&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
'''Object Oriented Programming'''&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
loadstring(exports.dgs:dgsImportOOPClass(true))()-- load OOP class&lt;br /&gt;
window = dgsWindow(0,0,0.5,0.1,&amp;quot;test&amp;quot;,true) --create a window with oop&lt;br /&gt;
label = window:dgsLabel(0,0,1,1,&amp;quot;label&amp;quot;,true) --create a label inside the window&lt;br /&gt;
label.text = &amp;quot;DGS OOP Test&amp;quot; --set text&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Want to talk to us?'''&lt;br /&gt;
*Join Discord Server: https://discord.gg/QEs8q6W&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Special thanks to the following for their help (Respect the contributors)''':&lt;br /&gt;
* Axel, Senpai, ZoNe&lt;br /&gt;
* DiGiTal, #Dv^, maksam07&lt;br /&gt;
* Scorpyo, Kingleonide, Bullet(.el3tar)&lt;br /&gt;
* Allerek, Deihim007, OmarSwaitti(HankVoight)&lt;br /&gt;
* FlyingFork, xLive&lt;br /&gt;
Special thanks to:&lt;br /&gt;
* Ahmed Ly&lt;br /&gt;
* ᴛᴇᴍᴏɪꜱ&lt;br /&gt;
&lt;br /&gt;
='''DGS Tips'''=&lt;br /&gt;
*[[DGS Events and GUI Events]]&lt;br /&gt;
*[[DGS Functions and GUI Functions]]&lt;br /&gt;
*[[DGS Grid List]]&lt;br /&gt;
*[[DGS OOP Class]]&lt;br /&gt;
*[[DGS Custom Plugin]]&lt;br /&gt;
*[[DGS Style System]]&lt;br /&gt;
*[[G2D|DGS GUI To DGS]]&lt;br /&gt;
&lt;br /&gt;
='''DGS Element Properties'''=&lt;br /&gt;
{{DGSPROPERTIES}}&lt;br /&gt;
&lt;br /&gt;
='''Client Functions'''=&lt;br /&gt;
{{DGSFUNCTIONS}}&lt;br /&gt;
&lt;br /&gt;
=Client Events=&lt;br /&gt;
{{DGSEVENTS}}&lt;br /&gt;
&lt;br /&gt;
=Last=&lt;br /&gt;
'''Everyone is welcome to make suggestions, test the script, help make adjustments/finish the wiki, etc.'''&lt;br /&gt;
[[Category:Resource]]&lt;br /&gt;
&lt;br /&gt;
[[ar:Dgs]]&lt;br /&gt;
[[ZH-CN:Dgs]]&lt;br /&gt;
[[PL:Dgs]]&lt;/div&gt;</summary>
		<author><name>FlyingFork</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Resource:DGS&amp;diff=69748</id>
		<title>Resource:DGS</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Resource:DGS&amp;diff=69748"/>
		<updated>2021-04-07T17:22:06Z</updated>

		<summary type="html">&lt;p&gt;FlyingFork: Added Syntax Highlighting links&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;
[[Image:DGS_Logo.png|400px|thumb|right|DGS Logo By [[User:Allerek|Allerek]]]]&lt;br /&gt;
This resource is designed to allow you to create directX GUI's as an alternative to the original MTA:SA GUI functions.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;padding:10px; border-radius:2px;font-size:14px;&amp;quot;&amp;gt;&lt;br /&gt;
'''Full Name''': Thisdp's DirectX Graphical User Interface System (DxGUI Lib)&lt;br /&gt;
&lt;br /&gt;
'''Developer''': [[User:thisdp|thisdp]], [[User:XNawaf|xLive]]&lt;br /&gt;
&lt;br /&gt;
'''State''': &amp;lt;span style=&amp;quot;color:#FFFFFF;text-shadow:black 0em 0em 0.3em;&amp;quot;&amp;gt;OpenSource&amp;lt;/span&amp;gt; &amp;amp; &amp;lt;span style=&amp;quot;color:#55FF55;text-shadow:black 0em 0em 0.3em;&amp;quot;&amp;gt;Work in progress&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''GitHub Source''': https://github.com/thisdp/dgs/tree/master&lt;br /&gt;
&lt;br /&gt;
'''Server Discord''': https://discord.gg/QEs8q6W&lt;br /&gt;
&lt;br /&gt;
'''Current Version''': 3.506&lt;br /&gt;
&lt;br /&gt;
'''Update Log''': [[DGS Updates Log|Changes and Updates Log]]&lt;br /&gt;
&lt;br /&gt;
'''Syntax Highlighting''':&lt;br /&gt;
&lt;br /&gt;
*Visual Studio Code, made by [BW]~ERAGON &amp;gt; https://marketplace.visualstudio.com/items?itemName=ERAGON.mtasa-dgs-lua &lt;br /&gt;
*Notepad, made by xLive &amp;gt; https://drive.google.com/file/d/1H_PiG2gmEz1AyXqZN4956IVgtZOjgMi6/view?usp=sharing&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Features=&lt;br /&gt;
&lt;br /&gt;
[[Image:DGSNetStatus.png|300px|thumb|right|DGS Network Monitor]]&lt;br /&gt;
&lt;br /&gt;
[[Image:DGSS.png|400px|thumb|right|]] &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''How does it work?'''&lt;br /&gt;
*DGS is based on [[element]] system, which just likes the cegui system. To make DGS easier to use and understand, I choose to follow the usage of cegui's.&lt;br /&gt;
*DGS supports OOP syntax, if you don't like POP, then use OOP instead. But you should know that OOP is slower than POP.&lt;br /&gt;
*DGS elements are rendered in the event &amp;quot;onClientRender&amp;quot;. When &amp;quot;onClientRender&amp;quot; is called, every DGS elements will be looped and calculated.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''What's different from cegui?'''&lt;br /&gt;
*This resource is based on dx* functions, so its style will be more flexible than cegui, which means you can define the style by yourself.&lt;br /&gt;
*The latest '''Style System''' enables developer to define their own style such as changing color, loading images and even loading shaders with dgs elements on the server instead of using a lot of [[dgsSetProperty]]/[[dgsSetProperties]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Update System'''&lt;br /&gt;
*It have an update system that can inform you of keeping your DGS latest.&lt;br /&gt;
*When a newer version has been released, it will detecte the version changing periodically and then notice you.&lt;br /&gt;
*Execute command &amp;quot;'''updatedgs'''&amp;quot; to check the least version and update your DGS.&lt;br /&gt;
*Also, you can check the version of DGS by inputting the command &amp;quot;dgsver&amp;quot; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''You Should Know'''&lt;br /&gt;
*This project was started from 2014.&lt;br /&gt;
*Some of DGS elements use '''Render Target''', which means if you don't have enough video memory, '''Render Target won't be created''', and therefore those dgs elements won't be shown.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Dx_7.PNG|400px|thumb|right|Example DGS Cmd]] &lt;br /&gt;
&lt;br /&gt;
'''Examples scripts'''&lt;br /&gt;
*1.https://community.multitheftauto.com/index.php?p=resources&amp;amp;s=details&amp;amp;id=14757 By ([[User:Ahmed Ly|Ahmed Ly]] ,Mahmod Algeriany)&lt;br /&gt;
*2. Also File test.lua its have more Examples You can See it .&lt;br /&gt;
*3. This Video show you how to play a video by using Dgs https://www.youtube.com/watch?v=ZIq24zS5byI&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Auto Completion'''&lt;br /&gt;
&lt;br /&gt;
DGS Official Auto Completion:&lt;br /&gt;
*Use the following command in server console to crawl and generate the latest auto completion (Only support notepad++/sumlime).&lt;br /&gt;
*'''g2d -crawl npp/sublime'''&lt;br /&gt;
&lt;br /&gt;
3rd Party Auto Completion:&lt;br /&gt;
*1. Link: http://www.mediafire.com/file/m6dm7815d5dihax/lua.zip  By [[User:Ahmed Ly|Ahmed Ly]] &lt;br /&gt;
*2. '''Note''': You must put it in file Notepad++\plugins\APIs.&lt;br /&gt;
*3. Not all of DGS Functions are added, but the rest will be added soon.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Debug'''&lt;br /&gt;
* You can enter the debug mode by executing the command &amp;quot;'''debugdgs'''&amp;quot;.&lt;br /&gt;
* &amp;quot;'''debugdgs 2 '''&amp;quot;: To see dgs elements' scale with a rainbow border&lt;br /&gt;
* &amp;quot;'''debugdgs 3 '''&amp;quot;: To trace where the dgs elements' were created.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''DGS Type'''&lt;br /&gt;
[[Image:Dx Dgs.jpg|400px|thumb|right|Hurt World GUI Example]]&lt;br /&gt;
Basic Types:&lt;br /&gt;
* 3D Image (dgs-dx3dimage)&lt;br /&gt;
* 3D Interface (dgs-dx3dinterface)&lt;br /&gt;
* 3D Line (dgs-dx3dline)&lt;br /&gt;
* 3D Text(dgs-dx3dtext)&lt;br /&gt;
* Browser (dgs-browser)&lt;br /&gt;
* Button (dgs-dxbutton)&lt;br /&gt;
* Check Box (dgs-dxcheckbox)&lt;br /&gt;
* Combo Box (dgs-dxcombobox + dgs-dxcombobox-Box)&lt;br /&gt;
* Custom Renderer (dgs-dxcustomrenderer)&lt;br /&gt;
* Detect Area (dgs-dxdetectarea)&lt;br /&gt;
* Edit (dgs-dxedit)&lt;br /&gt;
* Gridlist (dgs-dxgridlist)&lt;br /&gt;
* Image (dgs-dximage)&lt;br /&gt;
* Label (dgs-dxlabel)&lt;br /&gt;
* Media Browser (dgs-dxmedia)&lt;br /&gt;
* Memo (dgs-dxmemo)&lt;br /&gt;
* Progress Bar (dgs-dxprogressbar)&lt;br /&gt;
* Radio Button (dgs-dxradiobutton)&lt;br /&gt;
* Scale Pane (dgs-dxscalepane)&lt;br /&gt;
* Scroll Bar (dgs-dxscrollbar)&lt;br /&gt;
* Scroll Pane (dgs-dxscrollpane)&lt;br /&gt;
* Selector (dgs-dxselector)&lt;br /&gt;
* Switch Button(dgs-dxswitchbutton)&lt;br /&gt;
* Tab Panel (dgs-dxtabpanel + dgs-dxtab)&lt;br /&gt;
* Window (dgs-dxwindow)&lt;br /&gt;
&lt;br /&gt;
Plugins:&lt;br /&gt;
* Blur Box (dgs-dxblurbox)&lt;br /&gt;
* Canvas (dgs-dxcanvas)&lt;br /&gt;
* Circle (dgs-dxcircle)&lt;br /&gt;
* Color Picker (dgs-dxcolorpicker + dgs-dxcomponentselector)&lt;br /&gt;
* Effect 3D (dgs-dxeffect3d)&lt;br /&gt;
* Mask (dgs-dxmask)&lt;br /&gt;
* Media Browser (dgs-dxmediabrowser)&lt;br /&gt;
* Nine Slice (dgs-dxnineslice)&lt;br /&gt;
* Object Preview Supports (dgs-dxobjectpreviewhandle)&lt;br /&gt;
* Paste Handler (dgs-dxpastehandler)&lt;br /&gt;
* QRCode (dgs-dxqrcode)&lt;br /&gt;
* Remote Image (dgs-dxremoteimage)&lt;br /&gt;
* Rounded Rectangle (dgs-dxroundrect)&lt;br /&gt;
&lt;br /&gt;
'''Notice'''&lt;br /&gt;
*It is recommended to change the resource name to 'dgs'.&lt;br /&gt;
*This is a resource, if you want to use the functions exported by this resource,  you should use an exported function prefix ('''exports.dgs:''') call in your code, such as&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
label = exports.dgs:dgsCreateLabel(0, 0, 0.5, 0.1, &amp;quot;text&amp;quot;, true)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
*Here is a feasible way to shorten the name of an exported function:&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;
label = DGS:dgsCreateLabel(0,0,0.5,0.1,&amp;quot;text&amp;quot;,true) --create a label&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
*From the latest version, it no longer needs '''exports.dgs:''', instead we can do&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
loadstring(exports.dgs:dgsImportFunction())()-- load functions&lt;br /&gt;
label = dgsCreateLabel(0,0,0.5,0.1,&amp;quot;text&amp;quot;,true) --create a label&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
'''Object Oriented Programming'''&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
loadstring(exports.dgs:dgsImportOOPClass(true))()-- load OOP class&lt;br /&gt;
window = dgsWindow(0,0,0.5,0.1,&amp;quot;test&amp;quot;,true) --create a window with oop&lt;br /&gt;
label = window:dgsLabel(0,0,1,1,&amp;quot;label&amp;quot;,true) --create a label inside the window&lt;br /&gt;
label.text = &amp;quot;DGS OOP Test&amp;quot; --set text&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Want to talk to us?'''&lt;br /&gt;
*Join Discord Server: https://discord.gg/QEs8q6W&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Special thanks to the following for their help (Respect the contributors)''':&lt;br /&gt;
* Axel, Senpai, ZoNe&lt;br /&gt;
* DiGiTal, #Dv^, maksam07&lt;br /&gt;
* Scorpyo, Kingleonide, Bullet(.el3tar)&lt;br /&gt;
* Allerek, Deihim007, OmarSwaitti(HankVoight)&lt;br /&gt;
* FlyingFork, xLive&lt;br /&gt;
Special thanks to:&lt;br /&gt;
* Ahmed Ly&lt;br /&gt;
* ᴛᴇᴍᴏɪꜱ&lt;br /&gt;
&lt;br /&gt;
='''DGS Tips'''=&lt;br /&gt;
*[[DGS Events and GUI Events]]&lt;br /&gt;
*[[DGS Functions and GUI Functions]]&lt;br /&gt;
*[[DGS Grid List]]&lt;br /&gt;
*[[DGS OOP Class]]&lt;br /&gt;
*[[DGS Custom Plugin]]&lt;br /&gt;
*[[DGS Style System]]&lt;br /&gt;
*[[G2D|DGS GUI To DGS]]&lt;br /&gt;
&lt;br /&gt;
='''DGS Element Properties'''=&lt;br /&gt;
{{DGSPROPERTIES}}&lt;br /&gt;
&lt;br /&gt;
='''Client Functions'''=&lt;br /&gt;
{{DGSFUNCTIONS}}&lt;br /&gt;
&lt;br /&gt;
=Client Events=&lt;br /&gt;
{{DGSEVENTS}}&lt;br /&gt;
&lt;br /&gt;
=Last=&lt;br /&gt;
'''Everyone is welcome to make suggestions, test the script, help make adjustments/finish the wiki, etc.'''&lt;br /&gt;
[[Category:Resource]]&lt;br /&gt;
&lt;br /&gt;
[[ar:Dgs]]&lt;br /&gt;
[[ZH-CN:Dgs]]&lt;br /&gt;
[[PL:Dgs]]&lt;/div&gt;</summary>
		<author><name>FlyingFork</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=DgsAttachToGridList&amp;diff=66712</id>
		<title>DgsAttachToGridList</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=DgsAttachToGridList&amp;diff=66712"/>
		<updated>2020-05-28T10:06:13Z</updated>

		<summary type="html">&lt;p&gt;FlyingFork: Created page with &amp;quot;__NOTOC__  {{Client function}} This function allows you to attach a specific dgs element to a dgs gridlist. This will make something like dgsSetParent, but there will be n...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Client function}}&lt;br /&gt;
This function allows you to attach a specific dgs element to a dgs gridlist. This will make something like [[dgsSetParent]], but there will be no &amp;quot;parent-child&amp;quot; relationship.&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 dgsAttachToGridList( element dgsElement, element gridList, int rowIndex, int columnIndex, int/float offsetX, int/float offsetY, int/float offsetW, int/float offsetH [, bool relativePos = false, bool relativeSize = false ] )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''dgsElement:''' An element you want to get attached&lt;br /&gt;
*'''gridList:''' A dgs gridList you want to attach to&lt;br /&gt;
*'''rowIndex:''' An integer of the row index.&lt;br /&gt;
*'''columnIndex:''' End Column ID&lt;br /&gt;
*'''offsetX:''' A float of the 2D x position of the element on a player's screen. This is affected by the relative argument.&lt;br /&gt;
*'''offsetY:''' A float of the 2D x position of the element on a player's screen. This is affected by the relative argument.&lt;br /&gt;
*'''offsetW:''' A float of the width of the element. This is affected by the relative argument.&lt;br /&gt;
*'''offsetH:''' A float of the height of the window. This is affected by the relative argument.&lt;br /&gt;
&lt;br /&gt;
===Optional Arguments===&lt;br /&gt;
*'''relativePos:''' This is whether sizes and positioning are relative. If this is true, then all x,y floats must be between 0 and 1, representing sizes/positions as a fraction of the screen size. If false, then the size and co-ordinates are based on client's resolution.&lt;br /&gt;
*'''relativeSize:''' This is whether sizes and positioning are relative. If this is true, then all width,height floats must be between 0 and 1, representing sizes/positions as a fraction of the screen size. If false, then the size and co-ordinates are based on client's resolution.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if successful, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
This example attach label to 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;
gridlist= DGS:dgsCreateGridList(50,50,100,100,false) -- create a gridlist&lt;br /&gt;
row = DGS:dgsGridListAddRow(gridlist) -- create a row for the gridlist&lt;br /&gt;
column = DGS:dgsGridListAddColumn(gridlist,&amp;quot;Title&amp;quot;,1) -- create a column for the gridlist&lt;br /&gt;
label = DGS:dgsCreateLabel(0,200,100,100,&amp;quot;label&amp;quot;, false) -- create a label&lt;br /&gt;
DGS:dgsAttachToGridList(label,gridlist,row,column,10,20,_,_,false) -- attach label to gridlist&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>FlyingFork</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=DgsMediaGetCurrentPosition&amp;diff=66711</id>
		<title>DgsMediaGetCurrentPosition</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=DgsMediaGetCurrentPosition&amp;diff=66711"/>
		<updated>2020-05-28T09:42:40Z</updated>

		<summary type="html">&lt;p&gt;FlyingFork: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Client function}}&lt;br /&gt;
This function gets the position of the loaded media.&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
int dgsMediaGetCurrentPosition( element multiMediaBrowser )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''multiMediaBrowser :''' The multi media browser you want to operate.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns a float representing the ''current time'' in seconds of the media, or false if the position could not be retrieved.&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
loadstring(exports.dgs:dgsImportFunction())()  --Import DGS functions&lt;br /&gt;
browser = dgsCreateMediaBrowser(256,256) --Create Multi Media Browser&lt;br /&gt;
dgsMediaLoadMedia(browser,&amp;quot;test.webm&amp;quot;,&amp;quot;VIDEO&amp;quot;)  --Load the video file into multi media browser&lt;br /&gt;
image = dgsCreateImage(200,200,200,200,browser,false)  --Apply the browser to a dgs-dximage&lt;br /&gt;
dgsMediaPlay(browser)&lt;br /&gt;
&lt;br /&gt;
addEventHandler(&amp;quot;onDgsMediaLoaded&amp;quot;, browser, function() -- on loaded&lt;br /&gt;
    outputChatBox(&amp;quot;Position: &amp;quot;..dgsMediaGetCurrentPosition(browser))&lt;br /&gt;
end)&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>FlyingFork</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=DgsMediaGetCurrentPosition&amp;diff=66710</id>
		<title>DgsMediaGetCurrentPosition</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=DgsMediaGetCurrentPosition&amp;diff=66710"/>
		<updated>2020-05-28T09:41:12Z</updated>

		<summary type="html">&lt;p&gt;FlyingFork: Created page with &amp;quot;__NOTOC__  {{Client function}} This function gets the position of the loaded media.  ==Syntax==  &amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt; int dgsMediaGetCurrentPosition( element multiMedi...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Client function}}&lt;br /&gt;
This function gets the position of the loaded media.&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
int dgsMediaGetCurrentPosition( element multiMediaBrowser )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''multiMediaBrowser :''' The multi media browser you want to operate.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns a float representing the ''time'' in seconds of the media, or false if the position could not be retrieved.&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
loadstring(exports.dgs:dgsImportFunction())()  --Import DGS functions&lt;br /&gt;
browser = dgsCreateMediaBrowser(256,256) --Create Multi Media Browser&lt;br /&gt;
dgsMediaLoadMedia(browser,&amp;quot;test.webm&amp;quot;,&amp;quot;VIDEO&amp;quot;)  --Load the video file into multi media browser&lt;br /&gt;
image = dgsCreateImage(200,200,200,200,browser,false)  --Apply the browser to a dgs-dximage&lt;br /&gt;
dgsMediaPlay(browser)&lt;br /&gt;
&lt;br /&gt;
addEventHandler(&amp;quot;onDgsMediaLoaded&amp;quot;, browser, function() -- on loaded&lt;br /&gt;
    outputChatBox(&amp;quot;Position: &amp;quot;..dgsMediaGetCurrentPosition(browser))&lt;br /&gt;
end)&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>FlyingFork</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=DgsGridListGetItemSelectable&amp;diff=66693</id>
		<title>DgsGridListGetItemSelectable</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=DgsGridListGetItemSelectable&amp;diff=66693"/>
		<updated>2020-05-25T20:16:55Z</updated>

		<summary type="html">&lt;p&gt;FlyingFork: Created page with &amp;quot;{{Client function}} __NOTOC__ This function gets whether the item is selectable.  ==Syntax==  &amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt; bool dgsGridListGetItemSelectable( element gridlist,...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Client function}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
This function gets whether the item is selectable.&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 dgsGridListGetItemSelectable( element gridlist, int row, int column )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''gridlist:''' The dgs grid list you want to set.&lt;br /&gt;
*'''row:''' The row index of the grid list.&lt;br /&gt;
*'''column:''' The row index of the grid list.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if the item is selected, ''false'' otherwise&lt;br /&gt;
&lt;br /&gt;
==Example== &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;
local playerList = DGS:dgsCreateGridList (346, 163, 433, 403, false )  --Create the grid list element&lt;br /&gt;
local column = DGS:dgsGridListAddColumn( playerList, &amp;quot;Player&amp;quot;, 0.5 )  --Create a players column in the list&lt;br /&gt;
for id, player in ipairs(getElementsByType(&amp;quot;player&amp;quot;)) do&lt;br /&gt;
	local row = DGS:dgsGridListAddRow ( playerList )&lt;br /&gt;
	DGS:dgsGridListSetItemText ( playerList, row, column, getPlayerName ( player ) )&lt;br /&gt;
	DGS:dgsGridListSetRowSelectable(playerList, row, false)&lt;br /&gt;
	iprint(DGS:dgsGridListGetItemSelectable(playerList, row, column))&lt;br /&gt;
end&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>FlyingFork</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=DgsGridListSetItemSelectable&amp;diff=66692</id>
		<title>DgsGridListSetItemSelectable</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=DgsGridListSetItemSelectable&amp;diff=66692"/>
		<updated>2020-05-25T20:15:48Z</updated>

		<summary type="html">&lt;p&gt;FlyingFork: Created page with &amp;quot;{{Client function}} __NOTOC__ This function sets whether the item is selectable, which has a lower priority than dgsGridListSetRowSelectable.  ==Syntax==  &amp;lt;syntaxhighlight...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Client function}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
This function sets whether the item is selectable, which has a lower priority than [[dgsGridListSetRowSelectable]].&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 dgsGridListSetItemSelectable( element gridlist, int row, int column, boolean state )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''gridlist:''' The dgs grid list you want to set.&lt;br /&gt;
*'''row:''' The row index of the grid list.&lt;br /&gt;
*'''column:''' The column index of the grid list.&lt;br /&gt;
*'''state:''' Whether the row of grid list is selectable.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if successful, ''false'' otherwise&lt;br /&gt;
&lt;br /&gt;
==Example== &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;
local playerList = DGS:dgsCreateGridList (346, 163, 433, 403, false )  --Create the grid list element&lt;br /&gt;
local column = DGS:dgsGridListAddColumn( playerList, &amp;quot;Player&amp;quot;, 0.5 )  --Create a players column in the list&lt;br /&gt;
for id, player in ipairs(getElementsByType(&amp;quot;player&amp;quot;)) do&lt;br /&gt;
	local row = DGS:dgsGridListAddRow ( playerList )&lt;br /&gt;
	DGS:dgsGridListSetItemText ( playerList, row, column, getPlayerName ( player ) )&lt;br /&gt;
	DGS:dgsGridListSetItemSelectable(playerList, row, column, false)&lt;br /&gt;
end&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>FlyingFork</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=DgsGridListGetItemHoverable&amp;diff=66691</id>
		<title>DgsGridListGetItemHoverable</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=DgsGridListGetItemHoverable&amp;diff=66691"/>
		<updated>2020-05-25T20:14:20Z</updated>

		<summary type="html">&lt;p&gt;FlyingFork: Created page with &amp;quot;{{Client function}} __NOTOC__ This function returns whether the item is hoverable.  ==Syntax==  &amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt; string dgsGridListGetItemHoverable( element gridli...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Client function}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
This function returns whether the item is hoverable.&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
string dgsGridListGetItemHoverable( element gridlist, int row, int column )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''gridlist:''' The dgs grid list you want to get.&lt;br /&gt;
*'''row:''' The row index of the grid list.&lt;br /&gt;
*'''column:''' The column index of the grid list.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns true if the column is hoverable, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example== &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;
local playerList = DGS:dgsCreateGridList (346, 163, 433, 403, false )  --Create the grid list element&lt;br /&gt;
local column = DGS:dgsGridListAddColumn( playerList, &amp;quot;Player&amp;quot;, 0.5 )  --Create a players column in the list&lt;br /&gt;
for id, player in ipairs(getElementsByType(&amp;quot;player&amp;quot;)) do&lt;br /&gt;
    local row = DGS:dgsGridListAddRow ( playerList )&lt;br /&gt;
    DGS:dgsGridListSetItemText ( playerList, row, column, getPlayerName ( player ) )&lt;br /&gt;
    DGS:dgsGridListSetRowHoverable( playerList, row, false )&lt;br /&gt;
    iprint(DGS:dgsGridListGetItemHoverable(playerList, row, column))&lt;br /&gt;
end &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>FlyingFork</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=DgsGridListSetItemHoverable&amp;diff=66690</id>
		<title>DgsGridListSetItemHoverable</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=DgsGridListSetItemHoverable&amp;diff=66690"/>
		<updated>2020-05-25T20:10:50Z</updated>

		<summary type="html">&lt;p&gt;FlyingFork: Created page with &amp;quot;{{Client function}} __NOTOC__ This function sets whether the item is hoverable, which has a lower priority than dgsGridListSetRowHoverable.  ==Syntax==  &amp;lt;syntaxhighlight l...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Client function}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
This function sets whether the item is hoverable, which has a lower priority than [[dgsGridListSetRowHoverable]].&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
string dgsGridListSetItemHoverable( element gridlist, int row, int column, boolean state )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''gridlist:''' The dgs grid list you want to set.&lt;br /&gt;
*'''row:''' The row index of the grid list.&lt;br /&gt;
*'''column:''' The column index of the grid list.&lt;br /&gt;
*'''state:''' A bool indicates whether the row of grid list is hoverable or not.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if successful, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example== &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;
local playerList = DGS:dgsCreateGridList (346, 163, 433, 403, false )  --Create the grid list element&lt;br /&gt;
local column = DGS:dgsGridListAddColumn( playerList, &amp;quot;Player&amp;quot;, 0.5 )  --Create a players column in the list&lt;br /&gt;
for id, player in ipairs(getElementsByType(&amp;quot;player&amp;quot;)) do&lt;br /&gt;
    local row = DGS:dgsGridListAddRow ( playerList )&lt;br /&gt;
    DGS:dgsGridListSetItemText ( playerList, row, column, getPlayerName ( player ) )&lt;br /&gt;
    DGS:dgsGridListSetItemHoverable( playerList, row, column, false)&lt;br /&gt;
end &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>FlyingFork</name></author>
	</entry>
</feed>