Garry's Mod Wiki

Revision Difference

derma.SkinHook#546944

<function name="SkinHook" parent="derma" type="libraryfunc"> <description>Calls the specified hook for the given panel</description> <realm>Client and Menu</realm> <file line="192-L202">lua/derma/derma.lua</file>⤶ <args> <arg name="type" type="string">The type of hook to run</arg> <arg name="name" type="string">The name of the hook to run</arg> <arg name="panel" type="Panel">The panel to call the hook for</arg> <arg name="w" type="number">The width of the panel</arg> <arg name="h" type="number">The height of the panel</arg> </args> <rets> <ret name="" type="any">The returned variable from the skin hook</ret> </rets> </function>