Garry's Mod Wiki

Revision Difference

SANDBOX:SpawnMenuOpened#549717

<function name="SpawnMenuOpened" parent="SANDBOX" type="hook"> <description>Called when the spawnmenu is opened. This is an alias of <page>GM:OnSpawnMenuOpen</page> but will **not** be called if <page>SANDBOX:SpawnMenuOpen</page> prevents the spawnmenu from opening. ⤶ This hook **will** be called even if the spawnmenu doesn't actually exist, i.e. <page>SANDBOX:SpawnMenuEnabled</page> blocked its creation.⤶ </description> <realm>Client</realm> <predicted>No</predicted> </function>