Raised This Month: $ Target: $400
 0% 

catch knife attack


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Jon
Veteran Member
Join Date: Dec 2007
Old 10-11-2009 , 05:05   Re: catch knife attack
Reply With Quote #8

PHP Code:

// Bugsy's code

#define IsPlayer(%1)            (1<=%1<=g_MaxClients)

RegisterHamHam_TakeDamage "player" "fw_HamTakeDamage" )

public 
fw_HamTakeDamageVictim Inflictor Attacker Float:fDamage BitDamage 
{
    if ( 
IsPlayerAttacker ) && ( cs_get_weapon_idInflictor ) == CSW_KNIFE ) ) 
    {
        
//Victim hurt with knife, NOT JUMPING
    
}


Last edited by Jon; 10-11-2009 at 05:25.
Jon 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 22:43.


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