Player.GetViewOffsetDucked

From GMod Wiki

Jump to: navigation, search
Function
Syntax Player:GetViewOffsetDucked( )
Description:
Returns the vector of the ducked view position
Returns: Vector
In Object: Player
Realm: NewerShared.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=Player.GetViewOffsetDucked]Player.GetViewOffsetDucked [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Examples

DescriptionThis piece of code prints the LocalPlayers' ducked view offset
Used onNewerClient.png
Code
 print(LocalPlayer():GetViewOffsetDucked())
 
OutputBy default 0.00 0.00 28.00


See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox