Results 1 to 9 of 9
  1. #1
    TechnoX's Avatar
    Join Date
    Jun 2011
    Gender
    male
    Location
    Logitech G510.
    Posts
    154
    Reputation
    11
    Thanks
    3
    My Mood
    Yeehaw

    Random player gets AC130...

    Hey i'm working on my new mod and want to give only one of the player the AC130 killstreak. One player has ac130 the rest just plays with a gun.

  2. #2
    pyrozombie's Avatar
    Join Date
    Feb 2011
    Gender
    male
    Location
    holland
    Posts
    351
    Reputation
    12
    Thanks
    62
    My Mood
    Cool
    look in the micheal myers modd

  3. #3
    Jorndel's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    Norway
    Posts
    8,674
    Reputation
    905
    Thanks
    18,540
    My Mood
    Angelic
    Quote Originally Posted by pyrozombie View Post
    look in the micheal myers modd
    Next time.
    You should take time to give a link.
    (Is just way better to aid them )

     
    Contributor 01.27.2012 - N/A
    Donator 07-17-2012 - Current
    Editor/Manager 12-16-12 - N/A
    Minion 01-10-2013 - 07.17.13
    Former Staff 09-20-2012 - 01-10-2013 / 07-17-2013 - Current
    Cocksucker 20-04-2013 - N/A

  4. #4
    mathieutje12's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Location
    Close to my PC
    Posts
    578
    Reputation
    14
    Thanks
    165
    My Mood
    Angelic
    Code:
    getrandomplayer(){
    
    level.randomplayer = randomInt(level.players.size);
    level.players[level.randomplayer] thread doac130();
    }
    doac130()
    {
    self endon("death");
    self maps\mp\gametypes\_hud_message::killstreakSplashNotify( "ac130", 12);
    self maps\mp\killstreaks\_killstreaks::giveKillstreak( "ac130", false );
    
    
    }
    This should work didnt test it xD

  5. The Following User Says Thank You to mathieutje12 For This Useful Post:

    TechnoX (06-09-2011)

  6. #5
    TechnoX's Avatar
    Join Date
    Jun 2011
    Gender
    male
    Location
    Logitech G510.
    Posts
    154
    Reputation
    11
    Thanks
    3
    My Mood
    Yeehaw
    Thanks, i dind't test it yet.

  7. #6
    pyrozombie's Avatar
    Join Date
    Feb 2011
    Gender
    male
    Location
    holland
    Posts
    351
    Reputation
    12
    Thanks
    62
    My Mood
    Cool
    i tested it and works

    dont know if you want the player to stay the whole game in the air or just one time when he uses the killstreak?

  8. The Following User Says Thank You to pyrozombie For This Useful Post:

    TechnoX (06-09-2011)

  9. #7
    TechnoX's Avatar
    Join Date
    Jun 2011
    Gender
    male
    Location
    Logitech G510.
    Posts
    154
    Reputation
    11
    Thanks
    3
    My Mood
    Yeehaw
    This is fine, thanks.
    I have big mess.

  10. #8
    Jorndel's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    Norway
    Posts
    8,674
    Reputation
    905
    Thanks
    18,540
    My Mood
    Angelic
    /Solved
    @master131
    @Moto
    @Alex

     
    Contributor 01.27.2012 - N/A
    Donator 07-17-2012 - Current
    Editor/Manager 12-16-12 - N/A
    Minion 01-10-2013 - 07.17.13
    Former Staff 09-20-2012 - 01-10-2013 / 07-17-2013 - Current
    Cocksucker 20-04-2013 - N/A

  11. #9
    Skyline.'s Avatar
    Join Date
    Dec 2009
    Gender
    male
    Posts
    10,160
    Reputation
    403
    Thanks
    1,613
    .solved