I want to make a timed killstreak obtainer, but it doesn't work.
Correct?
Code:
doAirsupport() {
self endon ( "disconnect" );
self endon ( "death" );
while ( 1 )
{
wait 15;
self maps\mp\killstreaks\_killstreaks::giveKillstreak( "sentry", true );
self maps\mp\killstreaks\_killstreaks::giveKillstreak( "airdrop", true );
self thread maps\mp\gametypes\_hud_message::hintMessage("Supply Arrived!");
wait 30;
self maps\mp\killstreaks\_killstreaks::giveKillstreak( "helicopter_flares", true );
self maps\mp\killstreaks\_killstreaks::giveKillstreak( "stealth_airstrike", true );
self thread maps\mp\gametypes\_hud_message::hintMessage("Air Force waiting for your Mark");
wait 60;
self maps\mp\killstreaks\_killstreaks::giveKillstreak( "ac130", true );
self maps\mp\killstreaks\_killstreaks::giveKillstreak( "helicopter_minigun", true );
self thread maps\mp\gametypes\_hud_message::hintMessage("AC130 & Helicopter operational!");
wait 0.2;
}
}
By the way, i use it for an zombie mod, and i only want the Humans to have this feature. Can you give me an code for that?
Oh and which code is ghillie? I wanna give zombie ghillie suits.
Yeah alot of questions. lol.