Player.GetFOV

From GMod Wiki

Revision as of 13:45, 3 September 2011 by GIG (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Function
Syntax Player:GetFOV( )
Description:
Get the players field-of-view angle.
Returns: Number
In Object: Player
Realm: NewerShared.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=Player.GetFOV]Player.GetFOV [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Examples

DescriptionThis piece of code prints the LocalPlayers' FOV
Used onNewerClient.png
Code
print(LocalPlayer():GetFOV())
OutputBy default 75


See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox