Garry's Mod Wiki

Garry's Mod Wiki

  any derma.SkinHook( string type, string name, Panel panel, any vararg1 = nil, any vararg2 = nil, any vararg3 = nil, any vararg4 = nil )

Description

Calls the specified hook for the given panel

Arguments

1 string type
The type of hook to run
2 string name
The name of the hook to run
3 Panel panel
The panel to call the hook for
4 any vararg1 = nil
First parameter for the panel hook. i.e. width of the panel for Paint hooks.
5 any vararg2 = nil
Second parameter for the panel hook. i.e. height of the panel for Paint hooks.
6 any vararg3 = nil
Third parameter for the panel hook.
7 any vararg4 = nil
Fourth parameter for the panel hook.

Returns

1 any
The returned variable from the skin hook

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated twice a day. Edits and history are not available.

Last Parsed: Loading...