Garry's Mod Wiki

SpawnIcon:OpenMenu

  SpawnIcon:OpenMenu()

Description

Called when right clicked on the SpawnIcon. It will not be called if there is a selection (Panel:GetSelectionCanvas), in which case SANDBOX:SpawnlistOpenGenericMenu is called.