Results 1 to 6 of 6

Thread: + damage for killing

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #6
    Global Mossaderator Mitch's Avatar
    Join Date
    Nov 2012
    Posts
    654
    Thanks
    204
    Thanked 450 Times in 305 Posts
    I use this myself to increase damage for weapons.

    PHP Code:
    if(GetCvarFloat("scr_wep_dmg_" sWeapon "_" sHitLoc) > 0)
        
    iDamage int(iDamage GetCvarFloat("scr_wep_dmg_" sWeapon "_" sHitLoc));
    else if(
    GetCvarFloat("scr_wep_dmg_" sWeapon) > 0)
        
    iDamage int(iDamage GetCvarFloat("scr_wep_dmg_" sWeapon)); 
    So if the dmg is 40 and scr_wep_dmg_mp44_mp is 2. Your damage will be 80. Or when scr_wep_dmg_mp44_mp_head is 4 your damage will be 160.
    Last edited by Mitch; 17th November 2013 at 18:00.

  2. The Following User Says Thank You to Mitch For This Useful Post:

    Ni3ls (18th November 2013)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •