Raised This Month: $ Target: $400
 0% 

[question] how to get hit zones


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
NiHiLaNTh
Way Past Expiration
Join Date: May 2009
Location: Latvia
Old 12-23-2015 , 06:37   Re: [question] how to get hit zones
Reply With Quote #1

you have to hook TraceAttack. Than you can retrieve the hitgroup by using TR_iHitgroup.

Code:
new hitgroup = get_tr2(trace, TR_iHitgroup)

switch (hitgroup)
{
          case HIT_HEAD:             //headshot
          case HIT_CHEST:           //
          //etc.  
}
__________________


Last edited by NiHiLaNTh; 12-23-2015 at 06:37.
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 17:56.


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