Results 1 to 7 of 7
  1. #1
    NeonSabre123's Avatar
    Join Date
    Jul 2014
    Gender
    male
    Location
    Australia
    Posts
    162
    Reputation
    10
    Thanks
    480
    My Mood
    Bitchy

    Angry Unlimited Ammo Helppp

    Ever since the day I started scripting in SQF.... Unlimited Ammo has ALWAYS been a bit*h to me...
    Anyway here is what I've got:

    UNLIM_A_M_M_O = {
    hint 'Unlimited Ammo Activated';
    (vehicle player) setVehicleAmmo 1;
    };
    So... the hint shows but unlimited ammo doesnt work... When I execute it, It only fills up my mags from 15/30 to 30/30.

  2. #2
    titans's Avatar
    Join Date
    Aug 2011
    Gender
    male
    Posts
    156
    Reputation
    10
    Thanks
    286
    My Mood
    Amused
    Code:
    _l25 = primaryWeapon player;
     _l31 = secondaryWeapon player;
    player setAmmo[_l25, 999];
    player setAmmo[_l31, 999];
    (vehicle player) setVehicleAmmo 1;
    (vehicle player) setVehicleAmmo 1;
     sleep 0.01;

  3. #3
    Lystic's Avatar
    Join Date
    May 2013
    Gender
    male
    Location
    'Murica
    Posts
    498
    Reputation
    31
    Thanks
    4,717
    My Mood
    Bashful
    Quote Originally Posted by titans View Post
    Code:
    _l25 = primaryWeapon player;
     _l31 = secondaryWeapon player;
    player setAmmo[_l25, 999];
    player setAmmo[_l31, 999];
    (vehicle player) setVehicleAmmo 1;
    (vehicle player) setVehicleAmmo 1;
     sleep 0.01;
    You are both wrong
    jesus please READ THE FUCKING WIKI

    https://community.bistudio.com/wiki/setVehicleAmmo
    -- Sets how much ammunition (compared to a full state defined by the vehicle type) the vehicle has. The value ranges from 0 to 1.

    this means that setVehicleAmmo needs to be looped in order for it to work!

    https://community.bistudio.com/wiki/setAmmo

    I found this on the wiki!!!
    Code:
    player setAmmo [primaryWeapon player, 1000000]; //full mag with default ammo count
    SetAmmo sets max ammo to weapon not 9999 bullets!!!

    so do

    Code:
    while{true} do {vehicle player setVehicleAmmo 1;sleep 0.1;};

  4. #4
    titans's Avatar
    Join Date
    Aug 2011
    Gender
    male
    Posts
    156
    Reputation
    10
    Thanks
    286
    My Mood
    Amused
    Quote Originally Posted by Lystic View Post
    You are both wrong
    jesus please READ THE FUCKING WIKI

    https://community.bistudio.com/wiki/setVehicleAmmo
    -- Sets how much ammunition (compared to a full state defined by the vehicle type) the vehicle has. The value ranges from 0 to 1.

    this means that setVehicleAmmo needs to be looped in order for it to work!

    https://community.bistudio.com/wiki/setAmmo

    I found this on the wiki!!!
    Code:
    player setAmmo [primaryWeapon player, 1000000]; //full mag with default ammo count
    SetAmmo sets max ammo to weapon not 9999 bullets!!!

    so do

    Code:
    while{true} do {vehicle player setVehicleAmmo 1;sleep 0.1;};
    Lol, i just copy and paste from 313 Menu ^^'

  5. #5
    Lystic's Avatar
    Join Date
    May 2013
    Gender
    male
    Location
    'Murica
    Posts
    498
    Reputation
    31
    Thanks
    4,717
    My Mood
    Bashful
    Quote Originally Posted by titans View Post
    Lol, i just copy and paste from 313 Menu ^^'
    313 Menu is shit... why copy from that ugly work?

  6. #6
    titans's Avatar
    Join Date
    Aug 2011
    Gender
    male
    Posts
    156
    Reputation
    10
    Thanks
    286
    My Mood
    Amused
    It's not ugly for me

  7. #7
    Jim Morrison's Avatar
    Join Date
    Sep 2011
    Gender
    male
    Location
    Canterlot, Equestria
    Posts
    12,444
    Reputation
    1090
    Thanks
    3,336
    Lystic pretty much answered the question.
    Solved.
    /Closed


    MPGH Staff History:
    Minion: 02-12-2013 - 6-28-2013
    Former Staff: 6-28-2013 - 7-14-2014
    Minion: 7-14-2014 - 1-3-2015
    Minion+: 1-3-2015 - 6-1-2015
    Moderator: 6-1-2015 - 10-2-2016
    Global Moderator: 10-2-2016 - Current

    Current Sections:
    DayZ Mod & Standalone Hacks & Cheats
    BattleOn Games Hacks, Cheats & Trainers
    Minecraft Hacks
    Other Semi-Popular First Person Shooter Hacks
    Blackshot Hacks & Cheats
    Need For Speed World Hacks
    Other First Person Shooter Hacks
    CounterStrike: Global Offensive Hacks
    Garry's Mod Hacks & Cheats


    Donating:
    If you want to donate money to me I take Bitcoin & Paypal, PM me for either of these if you're interested and thanks.
    Top Donators: (Awesome People)
    FanticSteal $75.00
    smurf_master $58.00 <- Best DayZ Gear Seller
    Fujiyama $25.00
    [MPGH]Black $10.00
    [MPGH]Hova $10.00
    xJudgez $4.54
    [MPGH]Normen's Sheep $3.50
    eminemlover $1.50


    Brony?
    https://www.mpgh.net/forum/groups/1728-mpgh-bronies.html

Similar Threads

  1. [tut] unlimited ammo
    By crimetime in forum WarRock - International Hacks
    Replies: 39
    Last Post: 06-29-2007, 03:14 PM
  2. [Tutorial] Unlimited Ammo
    By Spoking in forum WarRock - International Hacks
    Replies: 10
    Last Post: 06-02-2007, 09:17 AM
  3. Tutorial of unlimited ammo, and the God Mode
    By Scottsmith in forum WarRock - International Hacks
    Replies: 22
    Last Post: 05-22-2007, 05:16 AM
  4. help unlimited ammo
    By timtomo in forum WarRock - International Hacks
    Replies: 7
    Last Post: 05-06-2007, 11:38 AM
  5. Unlimited Ammo via Cheat Engine?
    By vega in forum WarRock - International Hacks
    Replies: 9
    Last Post: 11-18-2006, 08:59 PM