Garry's Mod Wiki

Log in to edit

SANDBOX:SpawnMenuOpened

<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> </function>