player.SetFOV
From GMod Wiki
| Function | |
| Syntax | player.SetFOV( Integer fov, Float time ) |
| Description: | |
| Sets player's FOV in time. | |
| Returns: | nil |
| In Object: | Player |
| Realm: |
|
| BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Player.SetFOV]Player.SetFOV [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Additional Notes
- This object is the player's Field Of View.
- More info can be found here: http://developer.valvesoftware.com/wiki/FOV
- Setting the FOV to 0 resets it back to the default.
- The argument time is how long it takes to transition the player's view. IE, 1/4 second.