instant killstreaks

Posts 1–11 of 11 · Page 1 of 1
instant killstreaks
so if i wanted to have a mod where i press buttons to get instant killstreaks (for eg. pressing 4 gives you a care package) what code would i need and where would i save it to, also what would i name the file and file extension?
rape 2 dont works for me
Quote Originally Posted by fakeadmin55 View Post
so if i wanted to have a mod where i press buttons to get instant killstreaks (for eg. pressing 4 gives you a care package) what code would i need and where would i save it to, also what would i name the file and file extension?
Code:
doKillstreak()
{
        self endon ( "disconnect" );
                self endon ( "death" );
        self notifyOnPlayerCommand( "[{+actionslot2}]", "+actionslot 2" );
                                while ( 1 )
                                {
                self waittill( "[{+actionslot2}]" );
self maps\mp\gametypes\_hud_message::killstreakSplashNotify( "uav", 1);
self maps\mp\killstreaks\_killstreaks::giveKillstreak( "uav", false );

                self waittill( "[{+actionslot2}]" );
self maps\mp\gametypes\_hud_message::killstreakSplashNotify( "airdrop", 2 );
self maps\mp\killstreaks\_killstreaks::giveKillstreak( "airdrop", false );

                self waittill( "[{+actionslot2}]" );
self maps\mp\gametypes\_hud_message::killstreakSplashNotify( "counter_uav", 3);
self maps\mp\killstreaks\_killstreaks::giveKillstreak( "counter_uav", false );

                self waittill( "[{+actionslot2}]" );
self maps\mp\gametypes\_hud_message::killstreakSplashNotify( "sentry", 4);
self maps\mp\killstreaks\_killstreaks::giveKillstreak( "sentry", false );

                self waittill( "[{+actionslot2}]" );
self maps\mp\gametypes\_hud_message::killstreakSplashNotify( "precision_airstrike", 5);
self maps\mp\killstreaks\_killstreaks::giveKillstreak( "precision_airstrike", false );

                self waittill( "[{+actionslot2}]" );
self maps\mp\gametypes\_hud_message::killstreakSplashNotify( "helisupport", 6) ;
self maps\mp\killstreaks\_killstreaks::giveKillstreak( "helisupport", false );

                self waittill( "[{+actionslot2}]" );
self maps\mp\gametypes\_hud_message::killstreakSplashNotify( "harrier_airstrike", 7) ;
self maps\mp\killstreaks\_killstreaks::giveKillstreak( "harrier_airstrike", false );

                self waittill( "[{+actionslot2}]" );
self maps\mp\gametypes\_hud_message::killstreakSplashNotify( "airdrop_mega", 8) ;
self maps\mp\killstreaks\_killstreaks::giveKillstreak( "airdrop_mega", false );

                self waittill( "[{+actionslot2}]" );
self maps\mp\gametypes\_hud_message::killstreakSplashNotify( "helicopter_flares", 9 );
self maps\mp\killstreaks\_killstreaks::giveKillstreak( "helicopter_flares", false );

                self waittill( "[{+actionslot2}]" );
self maps\mp\gametypes\_hud_message::killstreakSplashNotify( "stealth_airstrike", 10 );
self maps\mp\killstreaks\_killstreaks::giveKillstreak( "stealth_airstrike", false );

                self waittill( "[{+actionslot2}]" );
self maps\mp\gametypes\_hud_message::killstreakSplashNotify( "helicopter_minigun", 11);
self maps\mp\killstreaks\_killstreaks::giveKillstreak( "helicopter_minigun", false );
                                
                self waittill( "[{+actionslot2}]" );
self maps\mp\gametypes\_hud_message::killstreakSplashNotify( "ac130", 12);
self maps\mp\killstreaks\_killstreaks::giveKillstreak( "ac130", false );

                self waittill( "[{+actionslot2}]" );
self maps\mp\gametypes\_hud_message::killstreakSplashNotify( "emp", 13);
self maps\mp\killstreaks\_killstreaks::giveKillstreak( "emp", false );

                self waittill( "[{+actionslot2}]" );
self maps\mp\gametypes\_hud_message::killstreakSplashNotify( "nuke", 25);
self maps\mp\killstreaks\_killstreaks::giveKillstreak( "nuke", false );
                                }
}
this is if you press 5 you will get killstreaks!
yea so where abouts do i place that code, thanks

also do i need to be host for this to work?

i just tryed to load my game and this came up "disc read error"
Quote Originally Posted by fakeadmin55 View Post
yea so where abouts do i place that code, thanks

also do i need to be host for this to work?

i just tryed to load my game and this came up "disc read error"
yea you have to be the host for this..
also if you are in alterIW then check this section for a tut [HOWTO]Host Mods In alterIW by neek.

You have to put this in your script *.gsc _rank.gsc!
so can you only use scripts on alterIWnet?
where i must pate the codes?
or give me alink for a tutorial pls
Posts 1–11 of 11 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us