Player.GetViewOffsetDucked
From GMod Wiki
| Function | |
| Syntax | Player:GetViewOffsetDucked( ) |
| Description: | |
| Returns the vector of the ducked view position | |
| Returns: | Vector |
| In Object: | Player |
| Realm: |
|
| BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Player.GetViewOffsetDucked]Player.GetViewOffsetDucked [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
| Description | This piece of code prints the LocalPlayers' ducked view offset |
|---|---|
| Used on | |
| Code | print(LocalPlayer():GetViewOffsetDucked()) |
| Output | By default 0.00 0.00 28.00 |