Player:SetCurrentViewOffset

From Garry's Mod
Jump to: navigation, search
 Player:SetCurrentViewOffset( )

Description

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

Do not confuse with Player:SetViewOffset and Player:SetViewOffsetDucked

Arguments

Vector viewOffset

The new view offset.
Personal tools
Navigation