Garry's Mod Wiki

Garry's Mod Wiki

  Player:SetViewOffsetDucked( Vector viewOffset )

Description

Sets the desired view offset which equals the difference between the players actual position and their view when crouching.

If you want to set actual view offset, use Player:SetCurrentViewOffset

See also Player:SetViewOffset for desired view offset when standing.

Arguments

1 Vector viewOffset
The new desired view offset when crouching.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated twice a day. Edits and history are not available.

Last Parsed: Loading...