Revision Difference
Player:GetViewOffsetDucked#566211
<function name="GetViewOffsetDucked" parent="Player" type="classfunc">
<description>
Returns the view offset of the player which equals the difference between the players actual position and their view when ducked.
Returns the ducked view offset of the player, which equals the difference between the player's actual position and their view when ducked.
See also <page>Player:GetViewOffset</page>.
</description>
<realm>Shared</realm>
<rets>
<ret name="" type="Vector">New crouching view offset, must be local vector to players <page>Entity:GetPos</page></ret>
<ret name="" type="Vector">New crouching view offset, must be local vector to player's <page>Entity:GetPos</page></ret>
</rets>
</function>
Garry's Mod
Rust
Steamworks
Wiki Help