Revision Difference
SpawnmenuContentPanel:CallPopulateHook#553651
<function name="CallPopulateHook" parent="SpawnmenuContentPanel" type="panelfunc">
<ispanel>yes</ispanel>⤶
<description>
Changes the Spawnmenu category to search in
</description>
<args>
<arg name="hookname" type="string">The Hook name</arg>
</args>
<realm>Client</realm>
<file line="52-L56">gamemodes/sandbox/gamemode/spawnmenu/creationmenu/content/content.lua</file>
</function>
<example>
<code>
local ctrl = vgui.Create( "SpawnmenuContentPanel" )
ctrl:CallPopulateHook( "PopulateWeapons" )
</code>
</example>