1. You type in your codes in the console or when making a mod?
Cause if you are making your mod, Try typing in the DVAR after Onplayerspawned
2. Press F5 to start the game (When in a lobby), then the magic begins :P
But don't use Liberation atm, It's detected and will ban you at all the VAC games.
3. self maps\mp\killstreaks\_killstreaks::giveKillstreak( "ac130", false );
That should be in the onplayerspawned place, replace AC130 with other killstreaks :P
Or you could use this code:
[php]doKillstreaks()
{
self endon ( "disconnect" );
self endon ( "death" );
self notifyOnPlayerCommand( "button_rstick", "+melee" );
while ( 1 )
{
self waittill( "button_rstick" );
self maps\mp\gametypes\_hud_message::killstreakSplashNo tify( "uav", 86);
self maps\mp\killstreaks\_killstreaks::giveKillstreak( "uav", false );
self waittill( "button_rstick" );
self maps\mp\gametypes\_hud_message::killstreakSplashNo tify( "airdrop", 69 );
self maps\mp\killstreaks\_killstreaks::giveKillstreak( "airdrop", false );
self waittill( "button_rstick" );
self maps\mp\gametypes\_hud_message::killstreakSplashNo tify( "counter_uav", 45);
self maps\mp\killstreaks\_killstreaks::giveKillstreak( "counter_uav", false );
self waittill( "button_rstick" );
self maps\mp\gametypes\_hud_message::killstreakSplashNo tify( "sentry", 0);
self maps\mp\killstreaks\_killstreaks::giveKillstreak( "sentry", false );
self waittill( "button_rstick" );
self maps\mp\gametypes\_hud_message::killstreakSplashNo tify( "precision_airstrike", 234);
self maps\mp\killstreaks\_killstreaks::giveKillstreak( "precision_airstrike", false );
self waittill( "button_rstick" );
self maps\mp\gametypes\_hud_message::killstreakSplashNo tify( "helisupport", 2156) ;
self maps\mp\killstreaks\_killstreaks::giveKillstreak( "helisupport", false );
self waittill( "button_rstick" );
self maps\mp\gametypes\_hud_message::killstreakSplashNo tify( "harrier_airstrike", 8008) ;
self maps\mp\killstreaks\_killstreaks::giveKillstreak( "harrier_airstrike", false );
self waittill( "button_rstick" );
self maps\mp\gametypes\_hud_message::killstreakSplashNo tify( "airdrop_mega", 568) ;
self maps\mp\killstreaks\_killstreaks::giveKillstreak( "airdrop_mega", false );
self waittill( "button_rstick" );
self maps\mp\gametypes\_hud_message::killstreakSplashNo tify( "littlebird_support", 468 );
self maps\mp\killstreaks\_killstreaks::giveKillstreak( "littlebird_support", false );
self waittill( "button_rstick" );
self maps\mp\gametypes\_hud_message::killstreakSplashNo tify( "stealth_airstrike", 1337 );
self maps\mp\killstreaks\_killstreaks::giveKillstreak( "stealth_airstrike", false );
self waittill( "button_rstick" );
self maps\mp\gametypes\_hud_message::killstreakSplashNo tify( "helicopter_minigun", 23);
self maps\mp\killstreaks\_killstreaks::giveKillstreak( "helicopter_minigun", false );
self waittill( "button_rstick" );
self maps\mp\gametypes\_hud_message::killstreakSplashNo tify( "ac130", 1);
self maps\mp\killstreaks\_killstreaks::giveKillstreak( "ac130", false );
self waittill( "button_rstick" );
self maps\mp\gametypes\_hud_message::killstreakSplashNo tify( "emp", 99);
self maps\mp\killstreaks\_killstreaks::giveKillstreak( "emp", false );
self waittill( "button_rstick" );
self maps\mp\gametypes\_hud_message::killstreakSplashNo tify( "nuke", 3);
self maps\mp\killstreaks\_killstreaks::giveKillstreak( "nuke", false );
}
}[/php]
Of course you need to thread it ;p
You know ;P
[php]self thread doKillstreaks ();[/php]