Driver FixRecommendedSound, Wi-Fi or graphics acting up? Check drivers firstFind missing or outdated drivers fast.Check DriversOctober DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsSlow PC?RecommendedPC slow today? Run a repair scan before it gets worseResolve common Windows issues and optimize system performance.Scan Now×
Skip to content
VGSources
Blog

How to Get Unlimited Ammo in Garry’s Mod: Sandbox Settings Explained

Garry’s Mod’s default Sandbox reserve cap is 9999, but that is finite. Learn the settings needed for infinite reserve ammo and what players can change on a server.
WorldGarry's Mod: Sandbox Settings Explained Length3 min Posted Quest giverVGSources Team
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

For true infinite reserve ammo in Garry’s Mod, the server must let the ammo type’s infinite setting apply: configure that type with maxcarry = -2 and set gmod_maxammo to 0 or a negative value. A large positive gmod_maxammo value—its official Sandbox configuration lists 9999 by default—gives you a large but finite reserve, not unlimited ammo. These settings are controlled through the game or server configuration; the official documentation does not show a universal client-side infinite-ammo console command.

Is there an infinite-ammo command in Garry’s Mod?

The official Garry’s Mod documentation describes configuration and Lua methods for ammo, but it does not establish a universal console command that ordinary players can type to enable infinite ammo. Don’t assume commands from other Source games work in Garry’s Mod.

In Sandbox, the relevant setting is gmod_maxammo. It controls players’ maximum reserve ammo. A positive value overrides an ammo type’s own maximum; a value of 0 or below lets that ammo type’s setting apply. See the Facepunch AmmoData documentation and the official Sandbox configuration.

Choose between a large reserve and infinite reserve

Outcome Configuration What it means
Large finite reserve Set gmod_maxammo to a large positive number. The official Sandbox configuration lists 9999 as its default. A high reserve limit, not true infinity.
Infinite reserve for an ammo type Set gmod_maxammo to 0 or below, and configure the relevant ammo type with maxcarry = -2. The ammo type’s infinite setting can apply because the positive-value override is disabled.

Facepunch’s AmmoData documentation defines -2 as infinite and notes that gmod_maxammo overrides the ammo type’s value when the convar is above 0. The official Sandbox configuration says values 0 and below use the weapon ammo type’s maximum-ammo setting instead.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
#1 Best Overall
Sale
8Bitdo Ultimate 2C Wireless Controller for Windows PC and Android, with 1000 Hz Polling Rate, Hall Effect Joysticks and Triggers, and Remappable L4/R4 Bumpers (Green)
  • Compatible with Windows and Android.
  • 1000Hz Polling Rate (for 2.4G and wired connection)
  • Hall Effect joysticks and Hall triggers. Wear-resistant metal joystick rings.
  • Extra R4/L4 bumpers. Custom button mapping without using software. Turbo function.
  • Refined bumpers and D-pad. Light but tactile.

How to enable it in Sandbox

You need control over the game or server configuration, including the relevant ammo type’s definition. The exact way to edit or apply configuration depends on how the game is hosted; the official documentation establishes the settings, not a single click-by-click setup for every host.

  1. Decide which ammo type should be infinite. The setting is per ammo type, so identify the type used by the weapon you want to use.
  2. Set that type’s maxcarry to -2. This is the documented value for infinite ammo in the AmmoData reference.
  3. Set gmod_maxammo to 0 or a negative value. This prevents a positive reserve cap from overriding the ammo type’s setting, as described in the Sandbox configuration.
  4. Test with a weapon that uses that ammo type. If its reserve still behaves as a finite amount, check that the setting was applied to the correct ammo type and that gmod_maxammo is not positive.

If you are playing on someone else’s server

You generally cannot assume you can change a server’s ammo rules as an ordinary client. Ask the operator whether the server supports infinite ammo, or check its rules and addons. Permissions and available controls vary by server; the official documentation does not establish how every host exposes these settings.

Rank #2
Sale
XBOX Wireless Gaming Controller | Carbon Black
  • MODERNIZED DESIGN — Experience the modernized design of the XBOX Wireless Controller with sculpted surfaces and updated geometry that enhances comfort and control during long gaming sessions.
  • PRECISION PERFORMANCE — Stay on target with a hybrid D-pad and textured grips on triggers, bumpers, and back case for improved accuracy and handling.
  • SHARE BUTTON: Seamlessly capture and share content such as screenshots, recordings, and more with the new Share button.
  • VERSATILE CONNECTIVITY — Connect via USB-C for plug-and-play on console and PC, or quickly pair and switch between supported devices with XBOX Wireless and Bluetooth support.
  • BUILT-IN AUDIO SUPPORT — Plug in compatible headsets using the 3.5mm audio jack for direct voice chat and immersive in-game sound.

Sandbox is Garry’s Mod’s default gamemode, and its spawn menu provides access to items such as weapons, props, and entities. That menu is for spawning content; it is not itself an unlimited-ammo switch. See the Facepunch Spawn Menu documentation.

Reserve ammo is not the same as magazine ammo

gmod_maxammo concerns reserve ammo—the rounds a player carries outside the weapon’s loaded clip. It does not automatically enlarge every weapon’s magazine. Facepunch documents player reserve-ammo functions separately from weapon clip methods, including Weapon:Clip1, Weapon:Clip2, Weapon:SetClip1, and Weapon:SetClip2. See the Player API and Weapon API.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #3
EasySMX X05Pro Wireless Gaming Controller for PC, Switch, Android/iOS
  • Universal Multi-Platform Compatibility: Works seamlessly with Windows PC, Switch/Switch 2, Android, and iOS via USB-C, 2.4G wireless (1000Hz), or Bluetooth (125Hz). Note: Not compatible with X-box, Play-Station, Luna, or GeForce
  • Ultra-Quiet Silent Gaming: Silicone-damped buttons for whisper-quiet operation. Perfect for late-night gaming without disturbing family or roommates. All buttons redesigned for silent play—ABXY, D-pad, triggers, and function keys
  • Hall Effect Precision Technology: Drift-free 11-bit Hall Effect joysticks with 1000Hz polling rate in wired/2.4G modes for ultra-fast competitive response. Bluetooth mode offers 125Hz for mobile gaming. Long-lasting durability guaranteed
  • Advanced Trigger & Programmability: Dual-stage adjustable triggers with 2+2 rumble motors for realistic feedback. Two top-mounted programmable buttons avoid accidental presses—solving common back-paddle issues for competitive advantage
  • Ergonomic Comfort & Endurance: Sweat-resistant silicone grip for marathon sessions. 1000mAh rechargeable battery for extended play. Upgraded 8-way D-pad with dome switches delivers precise diagonal control for fighting and retro games
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Changing ammo through Lua

For scripted behavior, Facepunch documents Player:SetAmmo and Player:GiveAmmo as Lua methods for setting or granting a player’s ammo. These are APIs to use in code, not universal commands to enter in the console. Individual weapons or third-party addons may also implement clip behavior separately; their behavior is not established by the general Sandbox configuration.

Quick Recap

SaleBestseller No. 1
8Bitdo Ultimate 2C Wireless Controller for Windows PC and Android, with 1000 Hz Polling Rate, Hall Effect Joysticks and Triggers, and Remappable L4/R4 Bumpers (Green)
8Bitdo Ultimate 2C Wireless Controller for Windows PC and Android, with 1000 Hz Polling Rate, Hall Effect Joysticks and Triggers, and Remappable L4/R4 Bumpers (Green)
Compatible with Windows and Android.; 1000Hz Polling Rate (for 2.4G and wired connection); Hall Effect joysticks and Hall triggers. Wear-resistant metal joystick rings.
$20.99
Rank #4
GameSir Nova Lite 2 Wireless PC Controller Hall Effect Sticks
  • Multi-Platform PC Gaming Controller: Working with Switch, PC, Android, and iOS devices via Bluetooth, wired, and wireless dongle connections.
  • Hall Effect Joysticks: Delivering enhanced recentering performance for smoother control and superior anti-drift capability. Plus, with anti-friction rings.
  • 2-Way Trigger Lock: With trigger stops, gamers can toggle between short and long pull positions. Additionally, gamers can activate hair trigger mode by pressing M+LT/RT (triggers must be in the long pull position).
  • 1000Hz Polling Rate: This ensures that your inputs are registered almost instantaneously, minimizing lag and maximizing your performance during competitive play.
  • Mechanical Circular D-pad: Designed for quick reactions and accuracy in every direction, this D-pad elevates your gaming experience with superior responsiveness.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More quests from Patch Notes

  1. How to Host a Mindustry Server in 2026: server-release.jar, Port 6567 and the Commands That MatterBlog7min
  2. Left 4 Dead 2 Server Hosting (2026): 5 Best Hosts for Co-op and VersusBlog8min
  3. How to Set Up a Subnautica Nitrox Server (2026): Launcher, Port 11000 and server.cfgBlog8min
Recommended PC Tool
Recommended PC Tool
PC Slower Than It Used to Be?Free scan - under a minute
Crashes, No Sound, or Screen Glitches?Free driver scan

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.