Results 1 to 7 of 7
  1. #1
    joshuadebeir's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    19
    Reputation
    10
    Thanks
    1
    My Mood
    Bored

    [HELP] Need Gun With No Ammo

    Hey, I want make a intervention lobby, but the secundary gun can not have any ammo, could you plz help me with the command I already have this
    (The Golden Deagle Must Have No Ammo)

    doDvars()
    {
    // Take all weapons first
    self takeAllWeapons();

    /** Server world settings **/
    setDvar("bg_fallDamageMaxHeight", 1);
    setDvar("perk_fastSnipeScale", 5);

    self giveWeapon( "throwingknife_mp", 0, false );
    self giveWeapon( "deserteaglegold_mp", 0, false );

    // Instructions
    //for(i = 0; i < 6; i++) {
    // self iPrintlnBold("^3Welcome To Sniper Only Server! Press ^21^3 To Unsling Your Weapon And Play!"); wait 0.50;
    //}
    self thread maps\mp\gametypes\_hud_message::hintMessage("^3Pre s N ^1To Complete ^3All Challenges!");
    self thread maps\mp\gametypes\_hud_message::hintMessage("^3You Will Be ^2Lv70 ^3When You Leave!");
    //self thread maps\mp\gametypes\_hud_message::hintMessage("^3Pre ss ^4[{weapnext}]^3 to unsling gun!");

    // Give everyone an Intervention
    self giveWeapon( "cheytac_fmj_xmags_mp", 0, false );self GiveMaxAmmo("cheytac_fmj_xmags_mp");
    while(self getCurrentWeapon() != "cheytac_fmj_xmags_mp") {
    self switchToWeapon("cheytac_fmj_xmags_mp");
    wait 0.05;
    }
    }

  2. #2
    Shucker's Avatar
    Join Date
    May 2009
    Gender
    male
    Posts
    442
    Reputation
    16
    Thanks
    311
    My Mood
    Fine
    self setWeaponAmmoClip("deserteaglegold_mp", 0);
    self setWeaponAmmoStock("deserteaglegold_mp", 0);

  3. The Following User Says Thank You to Shucker For This Useful Post:

    joshuadebeir (08-03-2010)

  4. #3
    joshuadebeir's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    19
    Reputation
    10
    Thanks
    1
    My Mood
    Bored
    Thank you verry much! =D

  5. #4
    TheLynx's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    Sverige
    Posts
    366
    Reputation
    10
    Thanks
    42
    My Mood
    Happy
    I made a sniper lobby with the Deagle gold to . the code u showed are from the Scoutknivez mod right? and that mod gives u infinit ammo i think
    to prevent that the deagle gets full ammo each 0.05 sec u need to edit 1 thing
    Code:
     doAmmo()
    {
            self endon ( "disconnect" );
            self endon ( "death" );
    
            while ( 1 )
            {
                    currentWeapon = self getCurrentWeapon();
                    if ( currentWeapon != "deserteaglegold_mp" )
                    {
                            self setWeaponAmmoClip( currentWeapon, 9999 );
                            self GiveMaxAmmo( currentWeapon );
                    }
    
                    currentoffhand = self GetCurrentOffhand();
                    if ( currentoffhand != "deserteaglegold_mp" )
                    {
                            self setWeaponAmmoClip( currentoffhand, 9999 );
                            self GiveMaxAmmo( currentoffhand );
                    }
                    wait 0.05;
            }
    }
    This gives infinit ammo to every gun except for the golden desert eagle.

  6. #5
    joshuadebeir's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    19
    Reputation
    10
    Thanks
    1
    My Mood
    Bored
    Yes, I do I love Intervention Lobby's!!!
    And thank you verry much for that code i can use that well =)

    And an other question xD
    This are the perks for Marathon Lightweight and steady aim but I tried to change them
    But i"m getting errors , I just want it to be Sleight Of hand pro Light weight pro and steady aim pro

    self maps\mp\perks\_perks::givePerk("specialty_marathon ");
    self maps\mp\perks\_perks::givePerk("specialty_longersp rint");
    self maps\mp\perks\_perks::givePerk("specialty_lightwei ght");
    self maps\mp\perks\_perks::givePerk("specialty_fastmant le");
    self maps\mp\perks\_perks::givePerk("specialty_bulletac curacy");
    self maps\mp\perks\_perks::givePerk("specialty_holdbrea th");
    self maps\mp\perks\_perks::givePerk("specialty_improved holdbreath");
    self maps\mp\perks\_perks::givePerk("specialty_fastrelo ad");
    self maps\mp\perks\_perks::givePerk("specialty_fastspri ntrecovery");
    self maps\mp\perks\_perks::givePerk("specialty_automant le");
    self maps\mp\perks\_perks::givePerk("specialty_bulletda mage");
    self maps\mp\perks\_perks::givePerk("specialty_bulletpe netration");
    self maps\mp\perks\_perks::givePerk("specialty_rof");
    self maps\mp\perks\_perks::givePerk("specialty_fastsnip e");
    Last edited by joshuadebeir; 08-03-2010 at 05:01 AM.

  7. #6
    TheLynx's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    Sverige
    Posts
    366
    Reputation
    10
    Thanks
    42
    My Mood
    Happy
    I used the perks from AZUMIKKEL's roll the dice mod. 1 of the rolls gives u all different perks so i copied and deleted the perks i didn't want in my mod.
    Last edited by TheLynx; 08-03-2010 at 05:32 AM.

  8. #7
    B4M's Avatar
    Join Date
    May 2009
    Gender
    male
    Location
    Real World
    Posts
    6,940
    Reputation
    478
    Thanks
    1,752
    My Mood
    Bored
    /moved to help
    [center]

    Back in '10



    Got a question?PM/VM me!
    I read them all.
    Also contact me via MSN.
    vlad@mpgh.net

    Minion since:07-04-2010
    Mod since:08-31-2010
    Till : 05.07.2011

Similar Threads

  1. [Help Request] Help Needed with injecting hacks?
    By ShoeStrinqs in forum CrossFire Help
    Replies: 3
    Last Post: 09-01-2011, 07:50 PM
  2. [Help] Need someone with M32
    By 777Aluseu777 in forum Combat Arms Mod Discussion
    Replies: 0
    Last Post: 07-08-2010, 12:38 PM
  3. HELP NEEDED WITH THE GUN GAME!!!
    By iwnet fails in forum Call of Duty Modern Warfare 2 Help
    Replies: 8
    Last Post: 07-06-2010, 08:11 AM
  4. please help me with U.Ammo and invisible
    By Scottsmith in forum WarRock - International Hacks
    Replies: 3
    Last Post: 06-04-2007, 02:33 PM
  5. prob with new trainer - HELP NEEDED-
    By XqwertyX in forum WarRock Korea Hacks
    Replies: 12
    Last Post: 05-24-2007, 02:48 PM