Results 1 to 10 of 10
  1. #1
    SAS46's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Posts
    41
    Reputation
    10
    Thanks
    4
    My Mood
    Bored

    killstreaks and throwing knife

    Hi
    i want to insert in my mod some thing
    1st with 5 kills an uav
    2nd with 7 kill counter-uav
    3rd a throwing knife for all players

    that is an only sniper mod

    thank you for helping me

    Case: Acer Aspire M5100
    CPU: AMD Phenom II X6 1090T 3.2ghz O.C. 3.8ghz
    MB:ASUS M4A785D-M PRO
    RAM: Samsung 3GB DDR2 800 Mhz
    HDD: Segate Barracuda 2x320 GB 7200.12 rpm SATA2 + Western Digital 1TB 7200.12rpm
    Graphic Card: Point of View GTX460 1024mb GDDR5
    Alim.: TecnoWare Max power output: 650W
    OS: Windows 7 Home Premium 64bit, Windows Xp Pro


  2. #2
    Xray Hunter's Avatar
    Join Date
    Sep 2011
    Gender
    male
    Posts
    37
    Reputation
    10
    Thanks
    0
    My Mood
    Angelic
    I seen a how to make killstreaks here..
    But here is a nooby way:
    Code:
    KS()
    {
    self endon("death");
    self endon("disconnect");
    
    i = 0;
    for(;;)
    {
    self waittill("killed_enemy");
    i++;
    if(i==5)
    {
    //Give UAV KS
    }
    if(i==7)
    {
    //Counter UAV
    }
    if(i==10)
    {
    //throw Knife
    }
    //wait 0.5;//Maybe change to 1. Don't think you need it :p
    }
    }
    Last edited by Xray Hunter; 09-28-2011 at 12:15 PM. Reason: Maybe laggy with the short wait. NvM :p

  3. #3
    SAS46's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Posts
    41
    Reputation
    10
    Thanks
    4
    My Mood
    Bored
    thank you i try it

    Case: Acer Aspire M5100
    CPU: AMD Phenom II X6 1090T 3.2ghz O.C. 3.8ghz
    MB:ASUS M4A785D-M PRO
    RAM: Samsung 3GB DDR2 800 Mhz
    HDD: Segate Barracuda 2x320 GB 7200.12 rpm SATA2 + Western Digital 1TB 7200.12rpm
    Graphic Card: Point of View GTX460 1024mb GDDR5
    Alim.: TecnoWare Max power output: 650W
    OS: Windows 7 Home Premium 64bit, Windows Xp Pro


  4. #4
    Xray Hunter's Avatar
    Join Date
    Sep 2011
    Gender
    male
    Posts
    37
    Reputation
    10
    Thanks
    0
    My Mood
    Angelic
    Quote Originally Posted by SAS46 View Post
    thank you i try it
    Good luck

  5. #5
    SAS46's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Posts
    41
    Reputation
    10
    Thanks
    4
    My Mood
    Bored
    it doesn't work

    Case: Acer Aspire M5100
    CPU: AMD Phenom II X6 1090T 3.2ghz O.C. 3.8ghz
    MB:ASUS M4A785D-M PRO
    RAM: Samsung 3GB DDR2 800 Mhz
    HDD: Segate Barracuda 2x320 GB 7200.12 rpm SATA2 + Western Digital 1TB 7200.12rpm
    Graphic Card: Point of View GTX460 1024mb GDDR5
    Alim.: TecnoWare Max power output: 650W
    OS: Windows 7 Home Premium 64bit, Windows Xp Pro


  6. #6
    Xray Hunter's Avatar
    Join Date
    Sep 2011
    Gender
    male
    Posts
    37
    Reputation
    10
    Thanks
    0
    My Mood
    Angelic
    Quote Originally Posted by SAS46 View Post
    it doesn't work
    And what don't work?
    The counting system or syntax?

  7. #7
    SAS46's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Posts
    41
    Reputation
    10
    Thanks
    4
    My Mood
    Bored
    it doesn't say nothing
    the server start but: uav and killstreaks doesn't work
    Do i have to add any command on onplayerspawned?

    Case: Acer Aspire M5100
    CPU: AMD Phenom II X6 1090T 3.2ghz O.C. 3.8ghz
    MB:ASUS M4A785D-M PRO
    RAM: Samsung 3GB DDR2 800 Mhz
    HDD: Segate Barracuda 2x320 GB 7200.12 rpm SATA2 + Western Digital 1TB 7200.12rpm
    Graphic Card: Point of View GTX460 1024mb GDDR5
    Alim.: TecnoWare Max power output: 650W
    OS: Windows 7 Home Premium 64bit, Windows Xp Pro


  8. #8
    Xray Hunter's Avatar
    Join Date
    Sep 2011
    Gender
    male
    Posts
    37
    Reputation
    10
    Thanks
    0
    My Mood
    Angelic
    Quote Originally Posted by SAS46 View Post
    it doesn't say nothing
    the server start but: uav and killstreaks doesn't work
    Do i have to add any command on onplayerspawned?
    Have't you threaded it?!

    self thread KS();

  9. #9
    master131's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    Melbourne, Australia
    Posts
    8,802
    Reputation
    3165
    Thanks
    73,329
    My Mood
    Breezy
    Of course it won't work. There's nothing there actually telling it to give the killstreak. He just left comments there to let you figure it out yourself.
    Donate:
    BTC: 1GEny3y5tsYfw8E8A45upK6PKVAEcUDNv9


    Handy Tools/Hacks:
    Extreme Injector v3.6.1 *NEW* Windows 10 compatible!
    A powerful and advanced injector in a simple GUI.
    Can scramble DLLs on injection making them harder to detect and even make detected hacks work again!

    Minion Since: 13th January 2011
    Moderator Since: 6th May 2011
    Global Moderator Since: 29th April 2012
    Super User/Unknown Since: 23rd July 2013
    'Game Hacking' Team Since: 30th July 2013

    --My Art--
    [Roxas - Pixel Art, WIP]
    [Natsu - Drawn]
    [Natsu - Coloured]


    All drawings are coloured using Photoshop.

    --Gifts--
    [Kyle]

  10. #10
    Yamato's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    839
    Reputation
    13
    Thanks
    152
    My Mood
    Amazed
    To give a killstreak

    Code:
    self maps\mp\killstreaks\_killstreaks::giveKillstreak("killstreak");
    To give a throwing knife:

    Code:
    self _setPerk("throwingknife_mp");
    self SetWeaponAmmoClip("throwingknife_mp",1);

Similar Threads

  1. [RELEASE] THROWING KNIFE MOD
    By RedThunder in forum Combat Arms Mods & Rez Modding
    Replies: 23
    Last Post: 03-05-2010, 10:50 AM
  2. 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
  3. shankshank throwing knife
    By gbitz in forum General
    Replies: 10
    Last Post: 12-05-2009, 10:55 PM
  4. [Suggestion] Throwing knife
    By liller28 in forum Combat Arms Mod Discussion
    Replies: 10
    Last Post: 11-29-2009, 12:32 PM