Garry's Mod Wiki

spawnmenu.ActivateToolPanel

  spawnmenu.ActivateToolPanel( number tab, Panel cp )

Description

Activates tools context menu in specified tool tab.

Arguments

1 number tab
The tabID of the tab to open the context menu in
2 Panel cp
The control panel to open