Raised This Month: $ Target: $400
 0% 

Double Damage


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 01-11-2020 , 12:25   Re: Double Damage
Reply With Quote #8

Try this

PHP Code:
new g_WeaponList = ( << CSW_AK47 ) | ( << CSW_M4A1 ) | ( << CSW_AWP );

public 
PreDoubleDamageid iInflictor iAttacker Float:fDamage Damagebits )
{
    if ( ( 
iAttacker == iInflictor ) && bHasWeaponiAttacker ] && is_user_connectediAttacker ) && ( g_WeaponList & ( << get_user_weaponiAttacker ) ) ) )
    {
        
SetHamParamFloatfDamage 2.0 ); 
        return 
HAM_HANDLED;
    }
    
    return 
HAM_IGNORED;

__________________

Last edited by Bugsy; 01-11-2020 at 12:57.
Bugsy 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 02:56.


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