Raised This Month: $ Target: $400
 0% 

hs knife why its not working ?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Mr.Waffle
Senior Member
Join Date: Dec 2011
Old 04-26-2012 , 07:49   hs knife why its not working ?
Reply With Quote #1

hello,
this is my code
PHP Code:
public HamTraceAttack(VicAttFloat:dmgFloat:dir[3], traceresultdmgbits)
{
    if(
HeadShot)
    {
        if( 
get_user_weaponAtt ) == CSW_KNIFE) {
            return 
HAM_IGNORED;
        }
        
set_user_hitzones(,02)
    }
    else    
        
set_user_hitzones(00255)
    return 
PLUGIN_HANDLED

i just trying to do when HeadShot = true its will be only Headshot ..
its works, but player can attack with knife Throughout the body.
Mr.Waffle is offline
 


Thread Tools
Display Modes

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