Player/GetFOV

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
m (Bug)
(Now returns a float on the server)
Line 2: Line 2:
 
|Description=Returns the FOV of the player.
 
|Description=Returns the FOV of the player.
  
{{Bug|Issue=2474|This returns an int on the server and a float on the client.}}
+
{{Bug|Fixed=|Issue=2474|This returns an int on the server and a float on the client.}}
 
|Realm=Shared
 
|Realm=Shared
 
|IsClass=Yes
 
|IsClass=Yes
Line 8: Line 8:
 
{{Ret
 
{{Ret
 
|type=number
 
|type=number
|desc=FOV
+
|desc=Field of view as a float
 
}}
 
}}

Revision as of 18:20, 24 October 2019

 Player:GetFOV( )

Description

Returns the FOV of the player.

BUG

This returns an int on the server and a float on the client.

Issue Tracker: #2474

This bug will be fixed in the next update.

Returns

number

Field of view as a float
Personal tools
Navigation