CSGOLuckGuides

CS2 practice commands

Start a map offline with bots disabled, open the console and paste the practice config below. Most of these need sv_cheats 1, which only works on a server you control.

Verified for current CS2 version32 commandsGame dump 28 October 2026Updated

Practice config to paste

Load a map offline (for example map de_mirage), open the console and paste all of this at once. Every line is a real CS2 command from the table below.

sv_cheats 1
mp_limitteams 0
mp_autoteambalance 0
bot_kick
mp_warmup_end
mp_freezetime 0
mp_roundtime_defuse 60
mp_roundtime 60
mp_buytime 9999
mp_buy_anywhere 1
mp_maxmoney 60000
mp_startmoney 60000
mp_ignore_round_win_conditions 1
sv_infinite_ammo 1
ammo_grenade_limit_total 5
sv_grenade_trajectory_prac_pipreview 1
sv_grenade_trajectory_prac_trailtime 10
sv_showimpacts 1
mp_restartgame 1

Save it as practice.cfg in your cfg folder and run exec practice next time. To learn lineups, add the rethrow bind and the noclip bind.

practice commands list

CommandWhat it doesDefaultNotes
sv_cheatsTurns cheat-protected commands on or off for the server. Only the server's host can set it, so it works offline and on your own server, never in matchmaking.0 (false)
sv_infinite_ammoInfinite ammo. 1 also gives infinite grenades, so you can keep throwing the same one. 2 keeps your reserve ammo full but you still reload.0sv_cheats
mp_roundtime_defuseRound length in minutes on bomb defusal maps. Set it high for practice so the round never ends.0
mp_freezetimeSeconds of freeze time at the start of each round. 0 removes it.6
mp_buytimeSeconds after the round starts that you can still buy.90
mp_buy_anywhereLets players buy outside the buy zone.0
mp_maxmoneyThe most money a player can hold.16000
mp_startmoneyMoney each player starts a half with.800
mp_warmup_endEnds warmup straight away and starts the match.
mp_restartgameRestarts the match after the given number of seconds. Use it after changing round or money settings so they take effect.0
mp_respawn_on_death_tTerrorists respawn after dying.0 (false)
mp_respawn_on_death_ctCounter-Terrorists respawn after dying.0 (false)
mp_ignore_round_win_conditionsStops rounds from ending when a team is eliminated or the bomb goes off.0 (false)
mp_limitteamsThe largest player-count difference allowed between teams. 0 removes the limit, so you can play alone on one side.2
mp_autoteambalanceMoves players between teams to keep the sides even. Turn it off for practice.1 (true)
sv_showimpactsDraws a box where each bullet hits: red for where your client thinks it hit, blue for where the server registered it.0
sv_showimpacts_timeHow many seconds the impact boxes from sv_showimpacts stay on screen.4
host_timescaleSpeeds up or slows down the whole game. 1 is normal speed. Cheat-protected.1sv_cheats
noclipFly through walls and floors. Run it again to land. Cheat-protected, so sv_cheats 1 first.sv_cheats
godYou take no damage. Run it again to turn it off. Cheat-protected.sv_cheats
giveGives you an item by its entity name, for example weapon_ak47 or weapon_smokegrenade. It works on a server you control, such as an offline practice game.
buddhaYou take damage but never die. Cheat-protected.0 (false)sv_cheats
setposMoves you to an exact map position. Use it with setang to stand on a saved lineup spot.sv_cheats
getposPrints your position and view angle as a setpos/setang line you can paste back later. Cheat-protected.sv_cheats
killKills your own player. Cheat-protected in CS2.sv_cheats
explodeKills your own player with an explosion. Cheat-protected.sv_cheats
sv_grenade_trajectory_prac_pipreviewWhile you hold a grenade, shows its predicted path and a small picture-in-picture view of where it will land. Set it on a server you control, usually with sv_cheats 1 for the rest of a practice config.0 (false)
sv_grenade_trajectory_prac_trailtimeHow many seconds the path of a thrown grenade stays drawn.0
sv_rethrow_last_grenadeThrows your last grenade again from the same spot and angle, so you can watch it land without walking back. Cheat-protected.sv_cheats
bot_kickRemoves bots from the server. With no argument it kicks all of them.
bot_stopBots stop thinking: they stand still and do not react.0sv_cheats
bot_placePuts a bot where you are aiming. Handy for practising prefires and angles. Cheat-protected.sv_cheats

Tools for this

Revision history

Related guides