Garry's Mod Wiki

Revision Difference

ContentHeader:OpenMenu#552098

<function name="OpenMenu" parent="ContentHeader" type="panelfunc"> <ispanel>yes</ispanel> <description> Creates a <page>Global.DermaMenu</page> and adds a delete option before opening the menu </description> <args> <arg name="style" type="string"></arg> <arg name="hookname" type="string" default="PopulateContent">A Populate Hook like PopulateEntities</arg> </args> <realm>Client</realm> <file line="20-L23">gamemodes/sandbox/gamemode/spawnmenu/creationmenu/content/contentsidebar.lua</file> <file line="96-L105">gamemodes/sandbox/gamemode/spawnmenu/creationmenu/content/contentheader.lua</file> </function>