Demo & Recording Commands
Record and playback demos for review or content creation.
15 commands 10 multiplayer safe 5 require sv_cheats
All Demo & Recording Commands (15)
record Start recording a demo (e.g. record mydemo)
stop Stop recording the current demo
playdemo Play back a recorded demo file
demoui Open the demo playback control UI
demo_pause Pause demo playback
demo_resume Resume demo playback
demo_timescale Demo playback speed multiplier (0.25=quarter, 2=double)
demo_goto Skip to a specific tick number in the demo
spec_show_xray Toggle X-ray outline view in spectate/demo
cl_draw_only_deathnotices Only show kill feed — hide HUD (for movie making)
cl_drawhud Hide entire HUD for clean screenshots/recordings
sv_skyname Change the skybox texture (for cinematic shots)
fog_override Override fog settings (1=enable custom fog)
fog_enable Enable or disable fog (0=off, 1=on)
screenshot Take a screenshot and save to screenshots folder
Other Command Categories
Frequently Asked Questions
- How many demo & recording commands are there in CS2?
- There are 15 demo & recording commands in CS2. 10 can be used in any game mode, and 5 require sv_cheats 1.
- Which demo & recording commands require sv_cheats?
- 5 of the 15 demo & recording commands require sv_cheats 1. These are only usable in private servers or offline practice mode and are blocked in competitive matchmaking.
- How do I use demo & recording commands in CS2?
- Open the developer console by pressing the tilde key (~). If it does not open, enable it in Settings > Game > Enable Developer Console. Then type the command and press Enter. You can add these commands to your autoexec.cfg for them to run automatically on launch.
- How do I save console commands permanently?
- Create an autoexec.cfg file in your CS2 cfg folder (Steam/steamapps/common/Counter-Strike Global Offensive/game/csgo/cfg/) and add your commands there. End the file with host_writeconfig. These commands run automatically every time CS2 launches.