Raised This Month: $ Target: $400
 0% 

Simulate HS kill


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
klippy
AlliedModders Donor
Join Date: May 2013
Location: Serbia
Old 01-01-2015 , 16:51   Re: Simulate HS kill
Reply With Quote #6

I am writing this of top of my head right now, and I don't know if it will work, but I would create a new trace handle with create_tr2(), set TR_iHitGroup member of trace handle to HIT_HEAD, then make a ExecuteHam(Ham_TraceAttack, ...) call with that trace handle. And don't forget to free the handle with free_tr2()!

Last edited by klippy; 01-01-2015 at 16:52. Reason: typo
klippy 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 15:22.


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