Garry's Mod Wiki

Revision Difference

GM:OnContextMenuOpen#529026

<function name="OnContextMenuOpen" parent="GM" type="hook"> <ishook>yes</ishook> <rets>⤶ <ret name="" type="boolean">Return false to block the context menu</ret>⤶ </rets>⤶ <description> Called when the context menu keybind (`+menu_context`) is pressed, which by default is <key>C</key>. See also <page>GM:OnContextMenuClose</page>. </description> <realm>Client</realm> <predicted>No</predicted> </function>