Garry's Mod Wiki

Player:SetViewOffsetDucked

Player:SetViewOffsetDucked

  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.

Special Pages


Wikis

?

Render Time: 21ms

DB GetPage 3
Generate Html 2
SaveChanges (1) 6
Render Body 0
Render Sidebar 7