Skip to content

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.

32 commands, checked 24 Nov 2026

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.

ADLeaderboard

How to open the CS2 console

  1. Open Settings, then the Game tab, and set Enable Developer Console to Yes. That switches on con_enable, which is off by default.
  2. Press the console key. On a US keyboard it is the tilde key (~) under Esc. The key is the one bound to toggleconsole.
  3. 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

CS2 Practice Commands: every command
CommandWhat it doesDefaultExampleCheats
sv_cheatsClient settingTurns cheat-protected commands on. Only works in a local game or on a server you run, never on Valve's servers.falsesv_cheats 1No
mp_warmup_pausetimerServer settingSet to 1 to stay in warmup with no time limit. Set to 0 to let the timer run again.0mp_warmup_pausetimer 1No
mp_warmup_startServer settingStarts warmup.Commandmp_warmup_startNo
mp_warmup_endServer settingEnds warmup and starts the match.Commandmp_warmup_endNo
mp_warmuptimeServer settingLength of warmup, in seconds. Changing it restarts warmup.90mp_warmuptime 600No
mp_restartgameServer settingRestarts the game after the number of seconds you give. Run it last so round and money settings apply.0mp_restartgame 1No
mp_ignore_round_win_conditionsServer settingStops a round ending when a team is dead or the clock runs out.falsemp_ignore_round_win_conditions 1No
mp_roundtimeServer settingRound length in minutes.3mp_roundtime 60No
mp_roundtime_defuseServer settingRound length in minutes on bomb maps. If 0, mp_roundtime is used.2.25mp_roundtime_defuse 60No
mp_freezetimeServer settingSeconds players are frozen at the start of a round.5mp_freezetime 0No
mp_respawn_on_death_ctServer settingCounter-Terrorists respawn after dying when set to 1.falsemp_respawn_on_death_ct 1No
mp_respawn_on_death_tServer settingTerrorists respawn after dying when set to 1.falsemp_respawn_on_death_t 1No
mp_startmoneyServer settingMoney every player gets when the game restarts.1000mp_startmoney 16000No
mp_maxmoneyServer settingThe most money a player can hold.10000mp_maxmoney 60000No
mp_buytimeServer settingSeconds after the round starts that you can still buy.45mp_buytime 9999No
mp_buy_anywhereServer settingLets players buy outside the buy zone. 1 is both teams, 2 is Terrorists, 3 is Counter-Terrorists.0mp_buy_anywhere 1No
mp_limitteamsServer settingThe most players one team can have over the other. 0 turns the check off.2mp_limitteams 0No
mp_autoteambalanceServer settingMoves players between teams to keep them even.truemp_autoteambalance 0No
sv_infinite_ammoServer settingYour active weapon never runs out of ammo.0sv_infinite_ammo 1Yes
ammo_grenade_limit_totalServer settingThe total number of grenades a player can carry.4ammo_grenade_limit_total 5No
sv_showimpactsServer settingDraws where bullets land: red for what your client sees, blue for the server. 1 is both, 2 client only, 3 server only.0sv_showimpacts 1No
sv_showimpacts_timeServer settingHow long, in seconds, the impact markers stay on screen.4sv_showimpacts_time 10No
sv_grenade_trajectory_prac_pipreviewServer settingShows a small preview of where your grenade will go before you throw it.falsesv_grenade_trajectory_prac_pipreview 1No
sv_grenade_trajectory_prac_trailtimeServer settingDraws the path of grenades you throw for this many seconds.0sv_grenade_trajectory_prac_trailtime 8No
cl_sim_grenade_trajectoryClient settingDraws the path a grenade would take if thrown from where you stand. Takes an optional time for how long to draw it.Commandcl_sim_grenade_trajectory 5Yes
sv_rethrow_last_grenadeServer settingThrows the last grenade again, the same way, so you can test a lineup. Bind it to a key.Commandbind "," "sv_rethrow_last_grenade"Yes
noclipServer settingToggles flying through walls. Add 0 or 1 to force it off or on.Commandbind "n" "noclip"Yes
godServer settingToggles invulnerability. Add 0 or 1 to force it off or on.CommandgodYes
ent_remove_allServer settingRemoves 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.Commandent_remove_all smokegrenade_projectileYes
host_timescaleClient settingScales the game clock. Under 1 is slow motion, over 1 is faster.1host_timescale 0.5Yes
weapon_accuracy_nospreadServer settingRemoves the random spread of shots, so you can study recoil on its own.falseweapon_accuracy_nospread 1No
cl_allow_multi_input_bindsClient settingValve 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 1Yes

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_pipreview shows a small preview of the throw before you let go.
  • sv_grenade_trajectory_prac_trailtime draws the path of each grenade you throw for that many seconds.
  • cl_sim_grenade_trajectory draws the path a grenade would take from where you stand, for as many seconds as you give it.
  • sv_rethrow_last_grenade throws the last grenade again exactly as before. Bind it, and a lineup becomes a one-key test.
  • ammo_grenade_limit_total lifts 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 commands

Commands, 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.