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.
#1 Best Overall
- 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.
- 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.
- Set that type’s
maxcarryto-2. This is the documented value for infinite ammo in the AmmoData reference. - Set
gmod_maxammoto 0 or a negative value. This prevents a positive reserve cap from overriding the ammo type’s setting, as described in the Sandbox configuration. - 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_maxammois 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
- 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.
The Tool Desk
Outbyte Driver Updater FREEScan for outdated or missing drivers - takes under a minuteDriver Scan →Outbyte PC Repair FREEClear out junk files and repair common Windows errorsFree Scan →Rank #3
- 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
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
Rank #4
- 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.




