Player.GetFOV
From GMod Wiki
Function | |
Syntax | Player:GetFOV( ) |
Description: | |
Get the players field-of-view angle. | |
Returns: | Number |
In Object: | Player |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Player.GetFOV]Player.GetFOV [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Description | This piece of code prints the LocalPlayers' FOV |
---|---|
Used on | |
Code | print(LocalPlayer():GetFOV()) |
Output | By default 75 |