Raised This Month: $ Target: $400
 0% 

How do I change the head dmg


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Voi
Veteran Member
Join Date: Sep 2006
Location: Gdansk, Poland
Old 05-11-2010 , 12:46   Re: How do I change the head dmg
Reply With Quote #1

use Ham_TraceAttack in pre(without 1 in the end of the hook in plugin init)
instead Ham_TakeDamage

and then get the hitplace from traceline:
Code:
hitplace = get_tr2( tr, TR_iHitgroup )
(you have tr in the hook)

I just recenly have an issue that I was needing hitplace in hamsandwich. As far as I remember its the only way.
__________________
Voi is offline
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 03:34.


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