Garry's Mod Wiki

SANDBOX:ContextMenuShowTool

  boolean SANDBOX:ContextMenuShowTool()

Description

Called to poll if active tool settings should appear in the context menu. Please note that this is only called on initial opening of the context menu, not every frame the context menu is in use.

Returns

1 boolean
Return false to prevent active tool settings from displaying in the context menu.