woh wait im giving you the code!!!
add this to give killstreak(all :P)
Code:
doKillstreakcycle()
{
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 to add the host check!
Code:
doHostcheck()
{
if( self isHost() )
{
self thread doKillstreakcycle();
}
}
add the code:
Code:
self thread doHostCheck();
in your thread onPlayerSpawed()!(in the file _rank.gsc)!
hey thanks me if i helped you!(Press 5 For Killstreaks!)!