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.
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
32 of 32
| Command | What it does | Default | Notes |
|---|---|---|---|
| sv_cheats | Turns 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_ammo | Infinite ammo. 1 also gives infinite grenades, so you can keep throwing the same one. 2 keeps your reserve ammo full but you still reload. | 0 | sv_cheats |
| mp_roundtime_defuse | Round length in minutes on bomb defusal maps. Set it high for practice so the round never ends. | 0 | |
| mp_freezetime | Seconds of freeze time at the start of each round. 0 removes it. | 6 | |
| mp_buytime | Seconds after the round starts that you can still buy. | 90 | |
| mp_buy_anywhere | Lets players buy outside the buy zone. | 0 | |
| mp_maxmoney | The most money a player can hold. | 16000 | |
| mp_startmoney | Money each player starts a half with. | 800 | |
| mp_warmup_end | Ends warmup straight away and starts the match. | ||
| mp_restartgame | Restarts 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_t | Terrorists respawn after dying. | 0 (false) | |
| mp_respawn_on_death_ct | Counter-Terrorists respawn after dying. | 0 (false) | |
| mp_ignore_round_win_conditions | Stops rounds from ending when a team is eliminated or the bomb goes off. | 0 (false) | |
| mp_limitteams | The largest player-count difference allowed between teams. 0 removes the limit, so you can play alone on one side. | 2 | |
| mp_autoteambalance | Moves players between teams to keep the sides even. Turn it off for practice. | 1 (true) | |
| sv_showimpacts | Draws a box where each bullet hits: red for where your client thinks it hit, blue for where the server registered it. | 0 | |
| sv_showimpacts_time | How many seconds the impact boxes from sv_showimpacts stay on screen. | 4 | |
| host_timescale | Speeds up or slows down the whole game. 1 is normal speed. Cheat-protected. | 1 | sv_cheats |
| noclip | Fly through walls and floors. Run it again to land. Cheat-protected, so sv_cheats 1 first. | sv_cheats | |
| god | You take no damage. Run it again to turn it off. Cheat-protected. | sv_cheats | |
| give | Gives 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. | ||
| buddha | You take damage but never die. Cheat-protected. | 0 (false) | sv_cheats |
| setpos | Moves you to an exact map position. Use it with setang to stand on a saved lineup spot. | sv_cheats | |
| getpos | Prints your position and view angle as a setpos/setang line you can paste back later. Cheat-protected. | sv_cheats | |
| kill | Kills your own player. Cheat-protected in CS2. | sv_cheats | |
| explode | Kills your own player with an explosion. Cheat-protected. | sv_cheats | |
| sv_grenade_trajectory_prac_pipreview | While 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_trailtime | How many seconds the path of a thrown grenade stays drawn. | 0 | |
| sv_rethrow_last_grenade | Throws your last grenade again from the same spot and angle, so you can watch it land without walking back. Cheat-protected. | sv_cheats | |
| bot_kick | Removes bots from the server. With no argument it kicks all of them. | ||
| bot_stop | Bots stop thinking: they stand still and do not react. | 0 | sv_cheats |
| bot_place | Puts a bot where you are aiming. Handy for practising prefires and angles. Cheat-protected. | sv_cheats |
Tools for this
Revision history
- First published. Every command checked against CS2's own cvar and command list (SteamDatabase dump b73cfdeb35, 28 Oct 2026).
- First published. Every command checked against CS2's own cvar and command list (SteamDatabase dump b73cfdeb35, 28 Oct 2026).