Raised This Month: $ Target: $400
 0% 

how can i add this 2 case?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
2reason2kill
Senior Member
Join Date: Feb 2011
Old 06-19-2011 , 13:25   how can i add this 2 case?
Reply With Quote #1

PHP Code:
#define IsPlayer(%1) ( 1 <= %1 <= g_iMaxPlayers )

    
RegisterHamHam_TakeDamage "player" "fwTakeDamage" )
    
g_iMaxPlayers get_maxplayers()


public 
fwTakeDamagevictim inflictor attacker Float:damage damage_bits )
{
    if( 
IsPlayerattacker ) && is_user_aliveattacker ) && inflictor == attacker && ( get_user_weapon(attacker) == CSW_DEAGLE ) )
    {
        return 
HAM_SUPERCEDE;
    }
    
    return 
HAM_IGNORED;

How can i add that to case?
2reason2kill 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 23:28.


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