Garry's Mod Wiki

Revision Difference

GM:OnSpawnMenuOpen#561676

<function name="OnSpawnMenuOpen" parent="GM" type="hook"> <description>Called when a player presses the `+menu` bind on their keyboard, which is bound to Q by default.</description> <description>Called when a player presses the `+menu` bind on their keyboard, which is bound to <key>Q</key> by default.</description> <realm>Client</realm> <rets>⤶ <ret name="" type="boolean">Return true to prevent default spawnmenu from showing.</ret>⤶ </rets>⤶ </function>