If you're practicing in an offline game or private server, it can be annoying having to purchase new weapons every minute to re-stock on ammo. Using console commands, you can give yourself unlimited ammo. This guide will show you how.
1. Enable the Developer Console
Skip this step if you already know how to open the developer console.
You'll need to have the developer console and enabled in order to follow this guide. Follow these steps to do this:
- Go to your CS:GO or CS2 settings
- Navigate to the
Game
tab - On the
Enable Developer Console
dropdown, selectYes
- Now it's enabled, you can press
`
or~
on your keyboard to open the console
If the above isn't working, or you need more help enabling the developer console, see this guide.
2. Enable Cheats (Required)
You will need to enable cheats in order for infinite ammo commands to work. To do this, run the following command:
sv_cheats 1
3. Enable Infinite Ammo
Infinite Ammo With Reload
The following command into the console will give you unlimited ammunition, but will still require you to reload when you reach the end of a clip (e.g. after firing 30 bullets with the AK-47):
sv_infinite_ammo 2
Infinite Ammo Without Reload
Provided you have enabled cheats (by typing sv_cheats 1
into the console), the following command will give you unlimited ammo in your gun's clip (meaning you can fire bullets forever, without having to ever reload):
sv_infinite_ammo 1
4. Practice Settings (Optional)
We find that most people looking for unlimited ammunition also want "practice" settings like unlimited round time, the ability to buy anywhere and unlimited money. If you want this, copy and paste this command into your console to apply those settings to your game/server:
sv_cheats 1;sv_infinite_ammo 2;sv_grenade_trajectory 1;mp_maxmoney 65535;mp_startmoney 65535;mp_afterroundmoney 65535;mp_buytime 60000;mp_buy_anywhere 1;mp_roundtime_defuse 60;mp_roundtime_hostage 60;mp_roundtime 60;mp_restartgame 1
Hopefully you found this guide helpful. If you're looking for more practice-related commands, check out these guides:
If you have a suggestion for us, or if there's a problem with this article (e.g. it's outdated or not working for you), please let us know via one of the buttons below.