Garry's Mod Wiki

SANDBOX:SpawnMenuOpened

  SANDBOX:SpawnMenuOpened()

Description

Called when the spawnmenu is opened.

This is an alias of GM:OnSpawnMenuOpen but will not be called if SANDBOX:SpawnMenuOpen prevents the spawnmenu from opening.

This hook will be called even if the spawnmenu doesn't actually exist, i.e. SANDBOX:SpawnMenuEnabled blocked its creation.