Panel/SetWorldClicker

From Garry's Mod
Jump to: navigation, search
 Panel:SetWorldClicker( )

Description

This makes it so that when you're hovering over this panel you can `click` on the world. Your viewmodel will aim etc. This is primarily used for the Sandbox context menu.

BUG

This function doesn't scale with custom FOV specified by GM:CalcView or WEAPON:TranslateFOV.

Issue Tracker: #3467

Arguments

boolean enabled

Personal tools
Navigation