Results 1 to 6 of 6
  1. #1
    aagibcheat's Avatar
    Join Date
    May 2009
    Gender
    male
    Posts
    260
    Reputation
    11
    Thanks
    22

    [SOLVED]Throwing Knife

    Hello!
    I have this code;
    Code:
    donateBullet() {
    self setWeaponAmmoStock(level.pistol, (self getWeaponAmmoStock(level.pistol)) + 1);
    }
    And everytime you kill someone your pistol gets one extra bullet.
    Now I want it to be that when you kill someone, you get one extra Throwing Knife.
    What do I need to change?

    Created By ; t3can

  2. #2
    DIOXIO's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    nbh
    Posts
    77
    Reputation
    10
    Thanks
    10
    My Mood
    Cynical
    Im not an expert but try this
    Code:
    donateThrowingKnife() {
    self setWeaponAmmoStock(level.ThrowingKnife, (self getWeaponAmmoStock(level.ThrowingKnife)) + 1);
    }
    don't blame me if that is wrong or impossible. XD

  3. #3
    matjuh123's Avatar
    Join Date
    Feb 2010
    Gender
    male
    Location
    So.. you didn't look in your closet yet?
    Posts
    1,204
    Reputation
    21
    Thanks
    623
    My Mood
    Amazed
    Quote Originally Posted by DIOXIO View Post
    Im not an expert but try this
    Code:
    donateThrowingKnife() {
    self setWeaponAmmoStock(level.ThrowingKnife, (self getWeaponAmmoStock(level.ThrowingKnife)) + 1);
    }
    don't blame me if that is wrong or impossible. XD
    I don't think that that's correct, but I'm not sure. Not a real modding hero..
    -I'm back as an active member. (8th December, 2013)

  4. #4
    aagibcheat's Avatar
    Join Date
    May 2009
    Gender
    male
    Posts
    260
    Reputation
    11
    Thanks
    22
    Nvm.. got it already
    Code:
    self takeWeapon(self getCurrentOffhand());self _setperk("throwingknife_mp"); for(;;){self waittill("killed_enemy"); self setWeaponAmmoClip("throwingknife_mp; ", 1);}

    Created By ; t3can

  5. #5
    DIOXIO's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    nbh
    Posts
    77
    Reputation
    10
    Thanks
    10
    My Mood
    Cynical
    /request Solved

  6. #6
    House's Avatar
    Join Date
    Mar 2010
    Gender
    male
    Posts
    2,990
    Reputation
    223
    Thanks
    8,952
    My Mood
    Cynical
    /Marked as Solved

Similar Threads

  1. [Solved]iSnipe unlimited throwing knife- PLZ HELP
    By RAZUBA in forum Call of Duty Modern Warfare 2 Help
    Replies: 3
    Last Post: 04-05-2011, 07:40 AM
  2. [SOLVED] Possible To Change Throwing Knife Damage?
    By [WhA]4FunPlayin in forum Call of Duty Modern Warfare 2 GSC Modding Help/Discussion
    Replies: 4
    Last Post: 09-30-2010, 07:07 AM
  3. Throwing Knife, Bomb... Hack
    By rex1825 in forum Call of Duty Modern Warfare 2 Discussions
    Replies: 0
    Last Post: 01-10-2010, 10:45 PM
  4. shankshank throwing knife
    By gbitz in forum General
    Replies: 10
    Last Post: 12-05-2009, 10:55 PM
  5. [Suggestion] Throwing knife
    By liller28 in forum Combat Arms Mod Discussion
    Replies: 10
    Last Post: 11-29-2009, 12:32 PM