Garry's Mod Wiki

Revision Difference

derma.SkinHook#513171

<function name="SkinHook" parent="derma" type="libraryfunc">⤶ <description>Calls the specified hook for the given panel</description>⤶ <realm>Client and Menu</realm>⤶ <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>⤶ ⤶