Raised This Month: $ Target: $400
 0% 

hs knife why its not working ?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Mr.Waffle
Senior Member
Join Date: Dec 2011
Old 04-26-2012 , 12:06   Re: hs knife why its not working ?
Reply With Quote #9

Quote:
Originally Posted by Exolent[jNr] View Post
Are you sure TraceAttack is called for knife?
idk , its ok ->
PHP Code:
public plugin_init() {    
    
RegisterHam(Ham_TraceAttack"player""HamTraceAttack");
}

public 
HamTraceAttack(VicAttFloat:dmgFloat:dir[3], traceresultdmgbits) {
    if(
HeadShot)
    {
        if( 
get_user_weaponAtt ) == CSW_KNIFE )
            return 
HAM_IGNORED;
        if(
get_tr2(traceresultTR_iHitgroup) != HIT_HEAD)
            return 
HAM_SUPERCEDE
    
}
    return 
HAM_IGNORED;


Last edited by Mr.Waffle; 04-26-2012 at 12:08.
Mr.Waffle 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 07:55.


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