Raised This Month: $ Target: $400
 0% 

[help] Will this DMG multiplier will work?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
G[o]Q
Member
Join Date: Jan 2010
Location: Poland (Malopolska)
Old 07-26-2010 , 18:50   Re: [help] Will this DMG multiplier will work?
Reply With Quote #6

do you use Ham_TakeDamage ?
Code:


public ham_zombie_knife(id, idinflictor, idattacker,Float:damage,damagebits)
{
if(cs_get_user_team(id) == CS_TEAM_CT && is_user_alive(id) ) 
    {
switch(PlayerLevel[id]){
       case 1:{
              SetHamParamFloat(4, 1.0*damage)
       }
       case 2:{
              SetHamParamFloat(4, 1.1*damage)
       }
       case 3:{
              SetHamParamFloat(4, 1.2*damage)
       }
       case 4:{
              SetHamParamFloat(4, 1.3*damage)
       }
}
    }
}  


Code:
damage = damage*1.1

not
Code:
damage = 1.1
G[o]Q 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 00:13.


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