AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   FOV (https://forums.alliedmods.net/showthread.php?t=101256)

NiHiLaNTh 08-22-2009 08:04

FOV
 
Is it possible somehow to get users FOV (Field Of View)?

Arkshine 08-22-2009 08:12

Re: FOV
 
Code:
new PlayerFov = pev( id, pev_fov );
or

Code:
new Float:PlayerFov = entity_get_float( id, EV_FL_FOV );
or

Code:
new PlayerFov = get_pdata_int( id, 363 ); // ( m_iFOV )

NiHiLaNTh 08-22-2009 08:32

Re: FOV
 
Thanks man!:wink::wink:

tuty 08-22-2009 18:50

Re: FOV
 
Quote:

Originally Posted by Arkshine (Post 908990)
Code:
new PlayerFov = pev( id, pev_fov );

or

Code:
new Float:PlayerFov = entity_get_float( id, EV_FL_FOV );

or

Code:
new PlayerFov = get_pdata_int( id, 363 ); // ( m_iFOV )


or or or or :)))


All times are GMT -4. The time now is 15:15.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.