Raised This Month: $ Target: $400
 0% 

FOV


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
NiHiLaNTh
Way Past Expiration
Join Date: May 2009
Location: Latvia
Old 08-22-2009 , 08:04   FOV
Reply With Quote #1

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

NiHiLaNTh is offline
Send a message via Skype™ to NiHiLaNTh
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 08-22-2009 , 08:12   Re: FOV
Reply With Quote #2

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 )
__________________

Last edited by Arkshine; 08-22-2009 at 08:16.
Arkshine is offline
tuty
Veteran Member
Join Date: Jul 2008
Location: UK
Old 08-22-2009 , 18:50   Re: FOV
Reply With Quote #3

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

or

Code:
new FloatlayerFov = entity_get_float( id, EV_FL_FOV );

or

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

or or or or ))
__________________
tuty is offline
Send a message via ICQ to tuty Send a message via AIM to tuty
NiHiLaNTh
Way Past Expiration
Join Date: May 2009
Location: Latvia
Old 08-22-2009 , 08:32   Re: FOV
Reply With Quote #4

Thanks man!
__________________

NiHiLaNTh is offline
Send a message via Skype™ to NiHiLaNTh
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


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