Garry's Mod Wiki

Revision Difference

SANDBOX:ContextMenuOpen#528791

<function name="ContextMenuOpen" parent="SANDBOX" type="hook"> <ishook>yes</ishook> <description>Called when the context menu is trying to be opened. Return false to disallow it.</description>⤶ <description>Called when the context menu is trying to be opened. Return false to disallow it.⤶ See <page>SANDBOX:ContextMenuOpen</page> if you wish to simply prevent the context menu from opening.⤶ </description>⤶ <realm>Client</realm> <predicted>No</predicted> <rets> <ret name="" type="boolean">Allow menu to open.</ret> </rets> </function>