Results 1 to 4 of 4
  1. #1
    TheSaboteur's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Location
    wasteland,church
    Posts
    454
    Reputation
    10
    Thanks
    30
    My Mood
    Goofy

    killstreaks i want to add!

    hi =D

    i was fooling around and how i addd killstreaks in my buymenu?
    but i want to change it for preks
    Code:
    buyPerk( perkchoice )
    {
    		self.Perkz= [];
    		self.Perkz[0] = "specialty_bulletaccuracy";
    		self.Perkz[1] = "specialty_coldblooded";
    		self.Perkz[2] = "specialty_bulletpenetration";
    		self.Perkz[3] = "specialty_fraggrenade";
    		self.PerkPrice= [];
    		self.PerkPrice[0] = 1200;
    		self.PerkPrice[1] = 1200;
    		self.PerkPrice[2] = 1500;
    		self.PerkPrice[3] = 1200;
    		self.ProPerkz= [];
    		self.ProPerkz[0] = "specialty_holdbreath";
    		self.ProPerkz[1] = "specialty_quickdraw";
    		self.ProPerkz[2] = "specialty_bulletpenetration";
    		self.ProPerkz[3] = "specialty_fastsprintrecovery";
    		self freezeControls(false);
    		
    		self notify ( "exitMenu" );
    		if (self.Pointz >= self.PerkPrice[ perkchoice ])
    		{
    		self maps\mp\perks\_perks::givePerk(self.Perkz[ perkchoice ]);
    		self maps\mp\perks\_perks::givePerk(self.ProPerkz[ perkchoice ]);
    		self.Pointz -= self.PerkPrice[ perkchoice ];
    		notifyData = spawnstruct();
    		notifyData.titleText = "^3Perk ^4Activated!";
    		self thread maps\mp\gametypes\_hud_message::notifyMessage( notifyData );
    		} else {
    				notifyData = spawnstruct();
    				notifyData.titleText = "^2Not ^0Enough ^2Points^0!^2!";
    				self thread maps\mp\gametypes\_hud_message::notifyMessage( notifyData );
    		}
    }
    Code:
    
    
    Code:
    level.topLevelMenuNames[3] = "Streaks!";
    	level.subMenuNumOptions[3] = 7;
    	level.subMenuNames[3] = [];
    	level.subMenuNames[3][0] = "Carepackage - 500";
    	level.subMenuNames[3][1] = "emergency - 1200";
    	level.subMenuNames[3][2] = "BrotherPlane - 1200 ";
    	level.subMenuNames[3][3] = "DeathFromAbove - 1800";
    	level.subMenuNames[3][4] = "Strike&Decay - 2300";
    	level.subMenuNames[3][5] = "Implode! - 50000";
    	
    	level.subMenuFunctions[3] = [];
    	level.subMenuFunctions[3][0] = :: buyperk;
    	level.subMenuFunctions[3][1] = :: buyperk;
    	level.subMenuFunctions[3][2] = :: buyperk;
    	level.subMenuFunctions[3][3] = :: buyperk;
    	level.subMenuFunctions[3][4] = :: buyperk;
    	level.subMenuFunctions[3][5] = :: rgun;
            
           
    	level.subMenuInputs[3] = [];
    	level.subMenuInputs[3][0] = "";
    	level.subMenuInputs[3][1] = 0;
    	level.subMenuInputs[3][2] = 1;
    	level.subMenuInputs[3][3] = 2;
    	level.subMenuInputs[3][4] = 3;
    	level.subMenuInputs[3][5] = "";
    how?

    i tried to add
    Code:
    self maps\mp\killstreaks\_killstreaks::giveKillstreak( "ac130", false );
    but dind workout...



    thanks.. for the helper



    Bring a Ding Ding Baby!

  2. #2
    Yaxxo's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Posts
    39
    Reputation
    10
    Thanks
    4
    My Mood
    Cheerful
    Maybe you can initiate a thread when a killstreak is bought, because the command you stated works for me

  3. #3
    ch40s's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Posts
    34
    Reputation
    10
    Thanks
    6
    not sure i know what you're meaning, but if it is getting a killstreak when "pressing" a buy button in your menu, try
    Code:
    self giveWeapon("killstreak_ac130_mp");

  4. #4
    TheSaboteur's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Location
    wasteland,church
    Posts
    454
    Reputation
    10
    Thanks
    30
    My Mood
    Goofy
    kk tommorow il test



    Bring a Ding Ding Baby!

Similar Threads

  1. i set g_hardcore 1 but i want to add to the weapons names
    By idiot2010 in forum Call of Duty Modern Warfare 2 GSC Modding Help/Discussion
    Replies: 5
    Last Post: 12-01-2010, 06:04 AM
  2. [HELP] Want to add some codes to QCZM
    By lolhack8808 in forum Call of Duty Modern Warfare 2 GSC Modding Help/Discussion
    Replies: 18
    Last Post: 09-20-2010, 10:49 AM
  3. My msn if anyone wants to add then go for it
    By Luke420 in forum General
    Replies: 13
    Last Post: 03-13-2010, 08:24 AM
  4. I HAVE LATEST WALLHACK IF U WANT add me mendozaalnie@yahoo.com
    By ALiaMaY12 in forum Soldier Front Hacks
    Replies: 4
    Last Post: 06-09-2009, 03:58 AM
  5. Want a free 'tk' domain name with no add?
    By radnomguywfq3 in forum General Game Hacking
    Replies: 0
    Last Post: 01-27-2008, 08:12 PM