Garry's Mod Wiki

Revision Difference

SANDBOX:PopulateWeapons#551995

<function name="PopulateWeapons" parent="SANDBOX" type="hook"> <ishook>yes</ishook> <description>Called by the spawnmenu when the Weapons tab is generated <warning>Creating an error in this Hook will result in a completely broken Weapons Tab</warning></description> <realm>Client</realm> <file line="75">gamemodes/sandbox/gamemode/spawnmenu/creationmenu/content/contenttypes/weapons.lua</file> <predicted>No</predicted> <args> <arg name="pnlContent" type="panel">The SpawnmenuContentPanel</arg> <arg name="tree" type="panel">The ContentNavBar tree from the SpawnmenuContentPanel</arg> <arg name="node" type="panel">The old Spawnlists</arg> <arg name="pnlContent" type="Panel">The SpawnmenuContentPanel</arg> <arg name="tree" type="Panel">The ContentNavBar tree from the SpawnmenuContentPanel</arg> <arg name="node" type="Panel">The old Spawnlists</arg> </args> </function>