Results 1 to 5 of 5
  1. #1
    michael_sj123's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    Norway
    Posts
    113
    Reputation
    10
    Thanks
    10
    My Mood
    Yeehaw

    Killstreaks like RAPE 3

    Hello,
    I've recently started to script some mods for MW2.
    I'm in need of a "script" that i can put in my _rank.gsc that scrolls trough the killstreaks like in RAPE 3. This is what i've got so far:

    Code:
    Buwk() 
    {
        self waittill( "[{+actionslot9}]" );
        self maps\mp\killstreaks\_killstreaks::giveKillstreak( "killstreak_uav_mp", false );
        self maps\mp\killstreaks\_killstreaks::giveKillstreak( "killstreak_ac130_mp", false );
        self maps\mp\killstreaks\_killstreaks::giveKillstreak( "killstreak_predator_missile_mp", false );
        self maps\mp\killstreaks\_killstreaks::giveKillstreak( "killstreak_helicopter_minigun_mp", false );
        self maps\mp\killstreaks\_killstreaks::giveKillstreak( "killstreak_nuke_mp", false );
        self maps\mp\killstreaks\_killstreaks::giveKillstreak( "killstreak_precision_airstrike_mp", false );
        self maps\mp\killstreaks\_killstreaks::giveKillstreak( "killstreak_counter_uav_mp", false );
        self maps\mp\killstreaks\_killstreaks::giveKillstreak( "killstreak_sentry_mp", false );
        self maps\mp\killstreaks\_killstreaks::giveKillstreak( "killstreak_precision_airstrike_mp", false );
        self maps\mp\killstreaks\_killstreaks::giveKillstreak( "killstreak_airdrop_marker_mp", false );
        self maps\mp\killstreaks\_killstreaks::giveKillstreak( "airdrop_sentry_marker_mp", false );
        self maps\mp\killstreaks\_killstreaks::giveKillstreak( "killstreak_helicopter_flares_mp", false );
        self maps\mp\killstreaks\_killstreaks::giveKillstreak( "killstreak_emp_mp", false );
        self maps\mp\killstreaks\_killstreaks::giveKillstreak( "airdrop_mega_marker_mp", false );
    }
    and then the self thread Buwk(); in the OnPlayerSpawned section.
    This won't work because when i press 9 nothing happens.

    Can i get some help?
    "I just love computers"

  2. #2
    jimmynguyen3030's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Location
    NukeTown
    Posts
    263
    Reputation
    10
    Thanks
    18
    My Mood
    Bored
    notify command

  3. #3
    foasdgg's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    83
    Reputation
    9
    Thanks
    37
    i dont think that there is +actionslot 9
    only till 4 or 3

  4. #4
    cgallagher21's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Posts
    1,583
    Reputation
    11
    Thanks
    296
    My Mood
    Busy
    Are you retarted?

  5. #5
    michael_sj123's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    Norway
    Posts
    113
    Reputation
    10
    Thanks
    10
    My Mood
    Yeehaw
    I took the code from RAPE now, so it works.
    Anyways, got another problem;
    When i set the icbm vision to OnPlayerConnect or something like that, it stays until the match says "Match starting in blahblah" and then it goes back to normal.
    How do i make the vision last the entrire match?
    "I just love computers"