Garry's Mod Wiki

DAdjustableModelPanel:SetFirstPerson

DAdjustableModelPanel:SetFirstPerson( boolean enable )

Description

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

1 boolean enable
Whether to enable/disable first person controls. See DAdjustableModelPanel:FirstPersonControls.

Page Links


Special Pages


Wikis

?

Render Time: 24ms

Session 0
DB GetPage 2
Generate Html 3
SaveChanges 10
Render Body 0
Render Sidebar 7