Garry's Mod Wiki


DAdjustableModelPanel:SetFirstPerson( boolean enable )


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.


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

Page Links

Special Pages



Render Time: 88ms

DB GetPage 50
Generate Html 3
SaveChanges (1) 13
Render Body 0
Render Sidebar 20