Raised This Month: $ Target: $400
 0% 

Damage Angle


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
stupok
Veteran Member
Join Date: Feb 2006
Old 05-31-2009 , 23:46   Re: Damage Angle
Reply With Quote #3

Engine:

Code:
new Float:fAngle[3] //... entity_set_vector(id, EV_VEC_punchangle, fAngle)

FakeMeta:

Code:
new Float:fAngle[3] //... set_pev(id, pev_punchangle, fAngle)

If I remember correctly, then fAngle should be measured with respect to the player's current angle. So, if you want to punch his view up, for example, just do something like fAngle[0] = 60.0. You need to test this, because sometimes a positive angle means down, sometimes a positive angle means up.
__________________

Last edited by stupok; 06-01-2009 at 01:49.
stupok is offline
 



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 13:57.


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