Raised This Month: $ Target: $400
 0% 

Some help...


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 04-15-2011 , 08:57   Re: Some help...
Reply With Quote #4

Assuming g_bHasKnife[] is the bool for if the player has bloody knife.
PHP Code:
public FwdPlayerDamage(victiminflictorattackerFloat:damagedamagebits)
{
    if(
inflictor == attacker
    
&& attacker != victim
    
&& g_bHasKnifeattacker 
    && 
is_user_alive(attacker)
    && 
get_user_weapon(attacker) == CSW_KNIFE )
    {
        
SetHamParamFloat(4damage 3.0);
    }

__________________
Bugsy is online now
 



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 20:00.


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