G.Derma Hook

From GMod Wiki

Jump to: navigation, search
Function
Syntax Derma_Hook( Panel Panel, String Function Name, String Hook Name, String Type Name )
Where is this used?
Description:
Makes the currently selected skin handle the specified function, using the hook Hook Name and type Type Name
Returns: nil
Part of Library: Global Functions
Realm: NewerClient.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=G.Derma Hook]G.Derma Hook [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]


Examples

DescriptionThis makes the skin paint the tab for you on your panel's paint function.
Used onNewerClient.png
Code
Derma_Hook( PANEL, "Paint", "Paint", "Tab" )
OutputN/A


See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox