Results 1 to 3 of 3
  1. #1
    Orgasmatronnn's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Posts
    13
    Reputation
    10
    Thanks
    0

    Why isnt this working

    Ok so i want to set my own perks for the person while there in game witch i can remove them but not add them this is the current code im using for it
    Code:
    		self waittill("spawned_player");
    			self takeAllWeapons();
    			self _clearPerks();
    			self maps\mp\perks\_perks::givePerk("specialty_extraammo");
    			self maps\mp\perks\_perks::givePerk("specialty_bulletpenetration");
    			self maps\mp\perks\_perks::givePerk("specialty_improvedholdbreath");
    			self giveWeapon( "m4_eotech_silencer_mp");
    			self giveWeapon( "beretta393_akimbo_silencer_mp");
    			self GiveMaxAmmo("m4_eotech_silencer_mp");
    			self switchToWeapon("m4_eotech_silencer_mp");
    			//self thread UnlimitedStock(700);
    If im doing it wrong i want scavenger stopping power and steady aim
    pleade and thanks im newby at mw2 lobby modding i code java tbh so idk how this stuff works atm

  2. #2
    Shucker's Avatar
    Join Date
    May 2009
    Gender
    male
    Posts
    442
    Reputation
    16
    Thanks
    311
    My Mood
    Fine
    Code:
    //self thread UnlimitedStock(700);
    Remove the //

  3. #3
    PP_CrazyApple's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Posts
    851
    Reputation
    28
    Thanks
    416
    My Mood
    Innocent
    Code:
    self waittill ("player_spawned");
    Yours is inverted

Similar Threads

  1. why doesnt this work?
    By koolman123 in forum CrossFire Hack Coding / Programming / Source Code
    Replies: 5
    Last Post: 08-28-2010, 04:08 AM
  2. Why isnt Liberation working for me?
    By atmaxx in forum Call of Duty Modern Warfare 2 Discussions
    Replies: 1
    Last Post: 08-16-2010, 09:24 PM
  3. Why wont this work [texture mod] PLEASE help.
    By John42 in forum Combat Arms Mod Discussion
    Replies: 9
    Last Post: 07-13-2010, 06:27 AM
  4. Why cant this work?
    By my80chevette in forum Combat Arms Hack Coding / Programming / Source Code
    Replies: 0
    Last Post: 06-15-2010, 06:54 AM
  5. why doesnt this work?
    By $GHOST$ in forum C++/C Programming
    Replies: 11
    Last Post: 04-06-2006, 09:34 PM