Garry's Mod Wiki

Player:GetViewOffsetDucked

  Vector Player:GetViewOffsetDucked()

Description

Returns the view offset of the player which equals the difference between the players actual position and their view when ducked.

See also Player:GetViewOffset.

Returns

1 Vector
New crouching view offset, must be local vector to players Entity:GetPos