Results 1 to 8 of 8
  1. #1
    Yaxxo's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Posts
    39
    Reputation
    10
    Thanks
    4
    My Mood
    Cheerful

    Claymore and Class

    Hi MPGH,

    I tried to add claymores to my mod with this code
    Code:
    	self giveweapon( "claymore_mp", 0, false );self GiveMaxAmmo("claymore_mp");
    but it doesn't work.
    How do i get claymores and other equipment to work?

    And is there a way that I can change the standard class to show a class i made on the class selection screen.

    Right now i'm like , i'm going crazy on this.

    Thx mpgh

  2. #2
    Arasonic's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Posts
    569
    Reputation
    11
    Thanks
    115
    Heres for all of them:
    Code:
    maps\mp\perks\_perks::givePerk( "semtex_mp" );
    self setWeaponAmmoClip("semtex_mp", 1);
    
    maps\mp\perks\_perks::givePerk( "c4_mp" );
    self setWeaponAmmoClip("c4_mp", 1);
    
    maps\mp\perks\_perks::givePerk( "claymore_mp" );
    self setWeaponAmmoClip("claymore_mp", 1);
    
    maps\mp\perks\_perks::givePerk( "frag_grenade_mp" );
    self setWeaponAmmoClip("frag_grenade_mp", 1);
    
    maps\mp\perks\_perks::givePerk( "smoke_grenade_mp" );
    self setWeaponAmmoClip("smoke_grenade_mp", 1);
    
    maps\mp\perks\_perks::givePerk( "concussion_grenade_mp" );
    self setWeaponAmmoClip("concussion_grenade_mp", 2);
    
    maps\mp\perks\_perks::givePerk( "throwingknife_mp" );
    self setWeaponAmmoClip("throwingknife_mp", 1);

  3. #3
    Yaxxo's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Posts
    39
    Reputation
    10
    Thanks
    4
    My Mood
    Cheerful
    I put the code for the claymore in my script but it doesn't work, and all other things in the thread do work, so it isn't that. What am i doing wrong here.

  4. #4
    Arasonic's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Posts
    569
    Reputation
    11
    Thanks
    115
    Could you perhaps send the script?

  5. #5
    cgallagher21's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Posts
    1,583
    Reputation
    11
    Thanks
    296
    My Mood
    Busy
    Cause Claymore is considered a Perk

  6. #6
    master131's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    Melbourne, Australia
    Posts
    8,802
    Reputation
    3165
    Thanks
    73,325
    My Mood
    Breezy
    Offhand weapons are considered as perks but you may want to try this:
    Code:
    self _giveWeapon("claymore_mp");
    Donate:
    BTC: 1GEny3y5tsYfw8E8A45upK6PKVAEcUDNv9


    Handy Tools/Hacks:
    Extreme Injector v3.6.1 *NEW* Windows 10 compatible!
    A powerful and advanced injector in a simple GUI.
    Can scramble DLLs on injection making them harder to detect and even make detected hacks work again!

    Minion Since: 13th January 2011
    Moderator Since: 6th May 2011
    Global Moderator Since: 29th April 2012
    Super User/Unknown Since: 23rd July 2013
    'Game Hacking' Team Since: 30th July 2013

    --My Art--
    [Roxas - Pixel Art, WIP]
    [Natsu - Drawn]
    [Natsu - Coloured]


    All drawings are coloured using Photoshop.

    --Gifts--
    [Kyle]

  7. #7
    Yaxxo's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Posts
    39
    Reputation
    10
    Thanks
    4
    My Mood
    Cheerful
    @master131, i already used that, it didn't work for me, i'll try again now,

    i am using this script
    Code:
    	maps\mp\perks\_perks::givePerk( "claymore_mp" );
    	self setWeaponAmmoClip("claymore_mp", 1);
    I'm not planning to give away my full script untill release of the mod(would be in a few days)

  8. #8
    Arasonic's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Posts
    569
    Reputation
    11
    Thanks
    115
    Can't help much without knowing what you're doing then

Similar Threads

  1. Structers and classes
    By big_buka in forum Call of Duty Modern Warfare 2 Help
    Replies: 1
    Last Post: 08-04-2010, 06:40 AM
  2. Replies: 7
    Last Post: 07-25-2010, 10:31 AM
  3. Please help my class win $200 and 2 video cameras
    By Venturo London in forum General
    Replies: 83
    Last Post: 02-23-2010, 06:46 PM
  4. Infinite ammo and claymores for 1.7 multiplayer
    By HACKINGPIE in forum Call of Duty Modern Warfare Help
    Replies: 3
    Last Post: 11-22-2009, 03:38 PM
  5. [Review] M32, Claymore, and HealthStick
    By alfonso951 in forum Combat Arms Hacks & Cheats
    Replies: 7
    Last Post: 08-06-2009, 03:29 AM