Garry's Mod Wiki

SANDBOX:SpawnlistOpenGenericMenu

  SANDBOX:SpawnlistOpenGenericMenu( Panel canvas )

Description

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

Called when there's one or more items selected in the spawnmenu by the player, to open the multi selection right click menu (DMenu)

Arguments

1 Panel canvas
The canvas that has the selection. (SANDBOX:SpawnlistOpenGenericMenu)