Dgs-dxdetectarea: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(Created page with "DGS Properties is always used to change the gui style and make it more fantastic. This page shows the properties of dgs-dxdetectarea that you could use. ==Main Funct...")
 
 
Line 8: Line 8:


==Properties==
==Properties==
===checkFunction===
This property stores the function of detect area ( Can't get/set outside of DGS ).
<syntaxhighlight lang="lua">dgsSetProperty(scrollpane,"checkFunction",checkFunction)</syntaxhighlight>
*'''checkFunction:''' A function that is used to detect.
===checkFunctionImage===
This property stores the texture that is used to detect instead of a function.
<syntaxhighlight lang="lua">dgsSetProperty(scrollpane,"checkFunctionImage",checkFunctionImage)</syntaxhighlight>
*'''checkFunctionImage:''' A textur that is used to detect instead of a function.
===debugMode===
===debugMode===
This property stores whether the debug mode is on or not
This property stores whether the debug mode is on or not.
<syntaxhighlight lang="lua">dgsSetProperty(scrollpane,"debugMode",debugMode)</syntaxhighlight>
<syntaxhighlight lang="lua">dgsSetProperty(scrollpane,"debugMode",debugMode)</syntaxhighlight>
*'''debugMode:''' A bool indicates whether the debug mode is on.
*'''debugMode:''' A bool indicates whether the debug mode is on.
===debugTexture===
This property stores the debug texture when '''debugMode''' is on.
<syntaxhighlight lang="lua">dgsSetProperty(scrollpane,"debugTexture",debugTexture)</syntaxhighlight>
*'''debugTexture:''' A texture for debug view.


==See Also==
==See Also==
{{DGSPROPERTIES}}
{{DGSPROPERTIES}}

Latest revision as of 11:50, 20 May 2020

DGS Properties is always used to change the gui style and make it more fantastic.

This page shows the properties of dgs-dxdetectarea that you could use.

Main Functions

Properties

checkFunction

This property stores the function of detect area ( Can't get/set outside of DGS ).

dgsSetProperty(scrollpane,"checkFunction",checkFunction)
  • checkFunction: A function that is used to detect.

checkFunctionImage

This property stores the texture that is used to detect instead of a function.

dgsSetProperty(scrollpane,"checkFunctionImage",checkFunctionImage)
  • checkFunctionImage: A textur that is used to detect instead of a function.

debugMode

This property stores whether the debug mode is on or not.

dgsSetProperty(scrollpane,"debugMode",debugMode)
  • debugMode: A bool indicates whether the debug mode is on.

debugTexture

This property stores the debug texture when debugMode is on.

dgsSetProperty(scrollpane,"debugTexture",debugTexture)
  • debugTexture: A texture for debug view.

See Also

General Properties

Unique Properties For DGS Core Elements

Extra Properties For DGS Plugins