DAdjustableModelPanel/SetFirstPerson

From Garry's Mod
Jump to: navigation, search
 DAdjustableModelPanel:SetFirstPerson( )

DescriptionPanelFunc

Enables mouse and keyboard-based adjustment of the perspective.

This is set to true automatically each time mouse capture is enabled, and hence doesn't serve as a usable setting, other than to disable this functionality after the PANEL:OnMousePressed event.

Arguments

boolean enable

Whether to enable/disable first person controls. See DAdjustableModelPanel:FirstPersonControls.
Personal tools
Navigation