You are viewing our Forum Archives. To view or take place in current topics click here.
#21. Posted:
Dirty_Undies
  • TTG Addict
Status: Offline
Joined: Jan 24, 201014Year Member
Posts: 2,110
Reputation Power: 154
Status: Offline
Joined: Jan 24, 201014Year Member
Posts: 2,110
Reputation Power: 154
Can Anyone Show me this in Action?
like a vid or and inv?
#22. Posted:
SupaKilla
  • Ladder Climber
Status: Offline
Joined: May 17, 201014Year Member
Posts: 367
Reputation Power: 14
Status: Offline
Joined: May 17, 201014Year Member
Posts: 367
Reputation Power: 14
Gonna pass this to my friend.
#23. Posted:
swifteh
  • TTG Senior
Status: Offline
Joined: Dec 21, 200914Year Member
Posts: 1,196
Reputation Power: 1091
Status: Offline
Joined: Dec 21, 200914Year Member
Posts: 1,196
Reputation Power: 1091
Cheater912 wrote I'm probably missing a few names and I failed at making the array, so make the code better and post it if you want.


okay, this is better 8)

doKillStreaks()
{
   self endon ("disconnect");
   self endon ("death");
   killStreaks = [];
   killStreakNames = getArrayKeys( level.killstreakFuncs );
   for ( i = 1; i <= 25; i++ )
      foreach ( streakName in killStreakNames )
         if ( maps\mp\killstreaks\_killstreaks::getStreakCost( streakName ) == i )
            killStreaks[killStreaks.size] = streakName;
   self notifyOnPlayerCommand("dpad_down", "+actionslot 2");
   for (;;)
   {
      for (i = 0; i < killStreaks.size; i++)
      {
         self waittill("dpad_down");
         self maps\mp\killstreaks\_killstreaks::clearKillstreaks();
         self maps\mp\gametypes\_hud_message::killstreakSplashNotify(killStreaks[i], maps\mp\killstreaks\_killstreaks::getStreakCost(killStreaks[i]));
         self maps\mp\killstreaks\_killstreaks::giveKillstreak(killStreaks[i], false);
      }
   }
}
#24. Posted:
AlfordTQ1
  • Junior Member
Status: Offline
Joined: Jan 10, 201014Year Member
Posts: 80
Reputation Power: 3
Status: Offline
Joined: Jan 10, 201014Year Member
Posts: 80
Reputation Power: 3
nice lol u can copy and paste from other sites lol
#25. Posted:
Whitesox
  • TTG Fanatic
Status: Offline
Joined: Apr 09, 200915Year Member
Posts: 4,611
Reputation Power: 362
Status: Offline
Joined: Apr 09, 200915Year Member
Posts: 4,611
Reputation Power: 362
thanks bro!
#26. Posted:
aca25
  • Ladder Climber
Status: Offline
Joined: Mar 06, 201014Year Member
Posts: 338
Reputation Power: 13
Status: Offline
Joined: Mar 06, 201014Year Member
Posts: 338
Reputation Power: 13
thats cool i mioght try this out
#27. Posted:
swifteh
  • TTG Senior
Status: Offline
Joined: Dec 21, 200914Year Member
Posts: 1,196
Reputation Power: 1091
Status: Offline
Joined: Dec 21, 200914Year Member
Posts: 1,196
Reputation Power: 1091
AlfordTQ1 wrote nice lol u can copy and paste from other sites lol


erm... what?
Jump to:
You are viewing our Forum Archives. To view or take place in current topics click here.