DButton.GetDisabled

From GMod Wiki

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



Examples

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