Garry's Mod Wiki

SANDBOX:PopulateWeapons

  SANDBOX:PopulateWeapons( panel pnlContent, panel tree, panel node )

Description

Called by the spawnmenu when the Weapons tab is generated

Creating an error in this Hook will result in a completely broken Weapons Tab

Arguments

1 panel pnlContent
The SpawnmenuContentPanel
2 panel tree
The ContentNavBar tree from the SpawnmenuContentPanel
3 panel node
The old Spawnlists