Garry's Mod Wiki

SANDBOX:ContextMenuEnabled

  boolean SANDBOX:ContextMenuEnabled()

Description

Allows to prevent the creation of the context menu. If the context menu is already created, this will have no effect.

Returns

1 boolean
Return false to prevent the context menu from being created.