Raised This Month: $ Target: $400
 0% 

[help] Will this DMG multiplier will work?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
alan_el_more
Veteran Member
Join Date: Jul 2008
Location: amxmodx-es.com
Old 07-26-2010 , 09:48   Re: [help] Will this DMG multiplier will work?
Reply With Quote #1

Try this (untested :S)

PHP Code:
new Float:g_level_dmg[] = {
    
1.0// Level 0 -.-
    
1.1// Level 1
    
1.2// Level 2
    
1.3// Level 3
    
1.4// Level 4
    
1.5  // Level 5
}

public 
ham_zombie_knife(id)
{
      if(
cs_get_user_team(id) == CS_TEAM_CT && is_user_alive(id) ) 
      {
              
SetHamParamFloat(4damage g_level_dmg[PlayerLevel[id]])
      }

__________________

Last edited by alan_el_more; 07-26-2010 at 19:39.
alan_el_more is offline
Reply



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