DCheckBox.OnChange

From GMod Wiki

Jump to: navigation, search
Event Hook
Hook NameOnChange
SyntaxPANEL:OnChange( )
DescriptionCalled when the Change.
ReturnsNil
Lua StateNewerClient.png
BBCode[b][url=wiki.garrysmod.com/?title=DCheckBox.OnChange]DCheckBox.OnChange [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]


Examples

DescriptionCalled when the Change.
Used onNewerClient.png
Code
function PANEL.OnChange()
    print("hello")
end
OutputReturns "hello" in the console.
Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox