CS2 Practice Commands
Practice commands change how a game behaves, so they only work in a game you host. Load a map on your own with map de_mirage, turn cheats on, then paste a block below.
Each block starts with sv_cheats 1. Valve does not let you switch cheats on in matchmaking.
Copy and paste
Empty server: no bots, endless rounds, free buying
sv_cheats 1 bot_quota 0 bot_kick mp_warmup_end mp_ignore_round_win_conditions 1 mp_roundtime 60 mp_roundtime_defuse 60 mp_freezetime 0 mp_respawn_on_death_ct 1 mp_respawn_on_death_t 1 mp_startmoney 16000 mp_maxmoney 16000 mp_buytime 9999 mp_buy_anywhere 1 mp_restartgame 1
Run it top to bottom. The restart is last so the round and money settings apply.
Grenade practice
sv_cheats 1 sv_infinite_ammo 1 ammo_grenade_limit_total 5 sv_grenade_trajectory_prac_pipreview 1 sv_grenade_trajectory_prac_trailtime 8 bind "," "sv_rethrow_last_grenade" bind "n" "noclip"
Shows the path of each throw, repeats your last grenade on a key, and lets you fly to the spot with noclip.
Infinite warmup
mp_warmup_start mp_warmup_pausetimer 1
Clear smokes, molotovs and fire on one key
sv_cheats 1 bind "m" "ent_remove_all smokegrenade_projectile; ent_remove_all molotov_projectile; ent_remove_all inferno"
Smokes and fire are entities, and ent_remove_all removes every entity of the class you name. The class names are the ones the practice config on this site uses; Valve's list does not name them.
How to open the CS2 console
- Open Settings, then the Game tab, and set Enable Developer Console to Yes. That switches on
con_enable, which is off by default. - Press the console key. On a US keyboard it is the tilde key (~) under Esc. The key is the one bound to
toggleconsole. - Type a command and press Enter. Type a command on its own to see its current value.
If the key does nothing, check that the setting above is on and that another action is not using the key. You can also start the game with -console in your launch options. Valve does not allow toggleconsole to be bound to mouse 1.
CS2 Practice Commands: every command
| Command | What it does | Default | Example | Cheats |
|---|---|---|---|---|
| sv_cheatsClient setting | Turns cheat-protected commands on. Only works in a local game or on a server you run, never on Valve's servers. | false | sv_cheats 1 | No |
| mp_warmup_pausetimerServer setting | Set to 1 to stay in warmup with no time limit. Set to 0 to let the timer run again. | 0 | mp_warmup_pausetimer 1 | No |
| mp_warmup_startServer setting | Starts warmup. | Command | mp_warmup_start | No |
| mp_warmup_endServer setting | Ends warmup and starts the match. | Command | mp_warmup_end | No |
| mp_warmuptimeServer setting | Length of warmup, in seconds. Changing it restarts warmup. | 90 | mp_warmuptime 600 | No |
| mp_restartgameServer setting | Restarts the game after the number of seconds you give. Run it last so round and money settings apply. | 0 | mp_restartgame 1 | No |
| mp_ignore_round_win_conditionsServer setting | Stops a round ending when a team is dead or the clock runs out. | false | mp_ignore_round_win_conditions 1 | No |
| mp_roundtimeServer setting | Round length in minutes. | 3 | mp_roundtime 60 | No |
| mp_roundtime_defuseServer setting | Round length in minutes on bomb maps. If 0, mp_roundtime is used. | 2.25 | mp_roundtime_defuse 60 | No |
| mp_freezetimeServer setting | Seconds players are frozen at the start of a round. | 5 | mp_freezetime 0 | No |
| mp_respawn_on_death_ctServer setting | Counter-Terrorists respawn after dying when set to 1. | false | mp_respawn_on_death_ct 1 | No |
| mp_respawn_on_death_tServer setting | Terrorists respawn after dying when set to 1. | false | mp_respawn_on_death_t 1 | No |
| mp_startmoneyServer setting | Money every player gets when the game restarts. | 1000 | mp_startmoney 16000 | No |
| mp_maxmoneyServer setting | The most money a player can hold. | 10000 | mp_maxmoney 60000 | No |
| mp_buytimeServer setting | Seconds after the round starts that you can still buy. | 45 | mp_buytime 9999 | No |
| mp_buy_anywhereServer setting | Lets players buy outside the buy zone. 1 is both teams, 2 is Terrorists, 3 is Counter-Terrorists. | 0 | mp_buy_anywhere 1 | No |
| mp_limitteamsServer setting | The most players one team can have over the other. 0 turns the check off. | 2 | mp_limitteams 0 | No |
| mp_autoteambalanceServer setting | Moves players between teams to keep them even. | true | mp_autoteambalance 0 | No |
| sv_infinite_ammoServer setting | Your active weapon never runs out of ammo. | 0 | sv_infinite_ammo 1 | Yes |
| ammo_grenade_limit_totalServer setting | The total number of grenades a player can carry. | 4 | ammo_grenade_limit_total 5 | No |
| sv_showimpactsServer setting | Draws where bullets land: red for what your client sees, blue for the server. 1 is both, 2 client only, 3 server only. | 0 | sv_showimpacts 1 | No |
| sv_showimpacts_timeServer setting | How long, in seconds, the impact markers stay on screen. | 4 | sv_showimpacts_time 10 | No |
| sv_grenade_trajectory_prac_pipreviewServer setting | Shows a small preview of where your grenade will go before you throw it. | false | sv_grenade_trajectory_prac_pipreview 1 | No |
| sv_grenade_trajectory_prac_trailtimeServer setting | Draws the path of grenades you throw for this many seconds. | 0 | sv_grenade_trajectory_prac_trailtime 8 | No |
| cl_sim_grenade_trajectoryClient setting | Draws the path a grenade would take if thrown from where you stand. Takes an optional time for how long to draw it. | Command | cl_sim_grenade_trajectory 5 | Yes |
| sv_rethrow_last_grenadeServer setting | Throws the last grenade again, the same way, so you can test a lineup. Bind it to a key. | Command | bind "," "sv_rethrow_last_grenade" | Yes |
| noclipServer setting | Toggles flying through walls. Add 0 or 1 to force it off or on. | Command | bind "n" "noclip" | Yes |
| godServer setting | Toggles invulnerability. Add 0 or 1 to force it off or on. | Command | god | Yes |
| ent_remove_allServer setting | Removes every entity of one class from the map. Used to clear smokes, molotovs and fire.The class names smokegrenade_projectile, molotov_projectile and inferno are the ones the practice setups on this site use. Valve's list does not name them. | Command | ent_remove_all smokegrenade_projectile | Yes |
| host_timescaleClient setting | Scales the game clock. Under 1 is slow motion, over 1 is faster. | 1 | host_timescale 0.5 | Yes |
| weapon_accuracy_nospreadServer setting | Removes the random spread of shots, so you can study recoil on its own. | false | weapon_accuracy_nospread 1 | No |
| cl_allow_multi_input_bindsClient setting | Valve ignores binds that combine movement or attack inputs, which includes the jump-throw bind. This cheat-protected setting turns them back on for practice.Valve update notes: 19 Aug 2024 | – | cl_allow_multi_input_binds 1 | Yes |
Defaults are the values in Valve's list, taken from build 9832 on 2 Oct 2023. Valve has changed some since; where a Valve update note says so, the new value is used and marked. A blank default means the list shows a command (not a setting), or the value in it is not trustworthy.
How to start a game that takes these commands
Open the console, type map and a map name, and press Enter. When the map has loaded you are the host, so the server settings in the table apply to you.
If a command prints that it is unknown or needs cheats, run sv_cheats 1 and try again. Run it again after a map change if a command stops working.
What the grenade commands do
sv_grenade_trajectory_prac_pipreviewshows a small preview of the throw before you let go.sv_grenade_trajectory_prac_trailtimedraws the path of each grenade you throw for that many seconds.cl_sim_grenade_trajectorydraws the path a grenade would take from where you stand, for as many seconds as you give it.sv_rethrow_last_grenadethrows the last grenade again exactly as before. Bind it, and a lineup becomes a one-key test.ammo_grenade_limit_totallifts the number of grenades you can carry so you can test a whole execute.
The jump-throw bind
On 19 Aug 2024 Valve began ignoring binds that combine inputs such as jump and attack. A jump-throw bind is one of them. cl_allow_multi_input_binds 1 turns them back on, and it is cheat-protected, so it works in practice only.
The bind generator writes the whole jump-throw script and says what it needs.
Which commands need cheats
The table marks each one. Settings that start mp_ and bot_ are server settings: they need no cheats, but they only change a game you host. Commands Valve flags as cheat-protected, such as noclip, god, sv_infinite_ammo and host_timescale, also need sv_cheats 1.
Slow motion
host_timescale scales the game clock: host_timescale 0.5 is half speed, host_timescale 1 puts it back. It needs cheats.
Tools that write these for you
CS2 Practice Commands FAQ
What are the best CS2 practice commands?
sv_cheats 1, bot_kick with bot_quota 0, mp_ignore_round_win_conditions 1, mp_buy_anywhere 1, sv_infinite_ammo 1, ammo_grenade_limit_total 5 and mp_restartgame 1 cover most sessions. The first block on this page is all of them in order.
How do I practise smokes in CS2?
Use the grenade block. The preview and trail show where a throw lands, sv_rethrow_last_grenade repeats it, and the clear bind removes the smoke so you can throw again.
How do I get infinite warmup in CS2?
Run mp_warmup_start and then mp_warmup_pausetimer 1. Valve describes the second one as staying in warmup indefinitely. Set it to 0 to start the timer again.
How do I bind noclip in CS2?
Run sv_cheats 1, then bind "n" "noclip". Press n to fly through walls and n again to land. Add 0 or 1 after noclip to force it off or on.
How do I clear smokes in CS2?
Use ent_remove_all with the smoke class, or the bind above to clear smokes, molotovs and fire together. It needs cheats.
Can I use practice commands in matchmaking?
No. Cheat commands cannot be switched on there. Use a local game, a private server or a community server that allows them.
More CS2 commands
All commandsCommands, defaults and flags come from Valve's command list on the Valve Developer Community wiki (build 9832, 2 Oct 2023). Changes since come from Valve's Counter-Strike 2 update notes (used here: 19 Aug 2024). Checked 24 Nov 2026.