Results 1 to 2 of 2
  1. #1
    kerocx's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Posts
    79
    Reputation
    10
    Thanks
    6

    Question Clay and Flash per kill

    I wanted to give every player a claymore and 2 flash grenades when they kill someone. Atm i have this buggy code that doesnt work so well, since it has influence on the scores:

    Code:
    if(self.kills >= 1){
                    self.killDecrease = 1;
                    self.currentK = self.kills;
                    self.kills = self.currentK-self.killDecrease;
                    self.pers["kills"] = self.kills;
                    self giveWeapon("claymore_mp", 0, false);
                    self giveWeapon("flash_grenade_mp", 0, false);
    I tried to change the code so it would not have influence on the scores, but it would restore my clay and flashs constantly as soon as i killed someone. Any help ?

  2. #2
    kerocx's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Posts
    79
    Reputation
    10
    Thanks
    6
    I integratet it in Quarantines buymenu, but if someone gets that perk he/she doesnt receive cash anymore, besides with an assist. But the zombies dont get cash if the get killed by the person with the perk. Furthermore it messes up the whole scores...

Similar Threads

  1. guys i whant to increease xp per kill how i done that?
    By Calibur50 in forum Call of Duty Modern Warfare 2 Private Servers
    Replies: 3
    Last Post: 06-30-2010, 07:38 PM
  2. [RELEASE] FSP BLUE TRACERS AND FLASH
    By -Rebirth- in forum Combat Arms Mods & Rez Modding
    Replies: 53
    Last Post: 03-26-2010, 01:55 PM
  3. Replies: 2
    Last Post: 03-05-2010, 11:26 PM
  4. need anti-kick and one position kill!!
    By gmrapno1 in forum WarRock - International Hacks
    Replies: 9
    Last Post: 05-07-2007, 01:17 PM
  5. whe you mix drugs, photoshop and flash animation
    By -[standoff]- in forum General
    Replies: 7
    Last Post: 12-09-2006, 06:47 PM