Raised This Month: $ Target: $400
 0% 

Damage multiplier


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
hleV
Veteran Member
Join Date: Mar 2007
Location: Lithuania
Old 10-10-2010 , 12:54   Re: Damage multiplier
Reply With Quote #4

Not sure about the DMG_BLAST thingie.
PHP Code:
public fw_TakeDamage(victiminflictorattackerFloat:damagedamagebits)
{
        if (!
attacker || damagebits DMG_BLAST
        
|| cs_get_user_team(attacker) != CS_TEAM_CT
        
|| get_user_weapon(inflictor) != CSW_KNIFE)
                return 
HAM_IGNORED;
 
        
SetHamReturnFloat(4damage 2);
 
        return 
HAM_HANDLED;

__________________

Last edited by hleV; 10-10-2010 at 12:56.
hleV 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 10:26.


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