DPanel.GetDisabled

From GMod Wiki

Jump to: navigation, search
Function
Syntax DPanel:GetDisabled( )
Description:
Returns whether the DPanel is disabled or not.
Returns: Boolean
In Object: DPanel
Realm: NewerClient.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=DPanel.GetDisabled]DPanel.GetDisabled [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Examples

DescriptionGets a TestingPanel's state.
Used onNewerClient.png
Code
 
//Gets the TestingPanel's state
if TestingPanel:GetDisabled() then
    print("This TestingPanel is disabled!")
end
 
OutputN/A
Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox