Garry's Mod Wiki

spawnmenu.SetActiveControlPanel

  spawnmenu.SetActiveControlPanel( Panel pnl )

Description

This is used internally - although you're able to use it you probably shouldn't.

Sets currently active control panel to be returned by spawnmenu.ActiveControlPanel.

Arguments

1 Panel pnl
The panel to set.