GEEKHUB / COUNTER-STRIKE 2

CS2 Demo Commands

Browse documented demo console commands.

31 documented commands
Browse command categories 18 topics
How to use console commands

Enable the developer console in game settings, open it using your assigned key, then enter a command. Check its context before use. Server commands require appropriate server permissions; practice-only commands belong in controlled sessions.

31 commands
CommandDescription & syntaxCompatibilityActions
demo_pauseDemo · Client

Stops demo playback without closing the recording.

Syntax & details
demo_pause

Example

demo_pause
Category
Demo
Context
Client
Type
Not recorded
Reference value
Not recorded
CS2 reference
Details →
demo_resumeDemo · Client

Continues playback after a pause.

Syntax & details
demo_resume

Example

demo_resume
Category
Demo
Context
Client
Type
Not recorded
Reference value
Not recorded
CS2 reference
Details →
demo_timescaleDemo · Client

Changes the speed of demo playback; useful for reviewing a duel slowly.

Syntax & details
demo_timescale <playback multiplier>

Example

demo_timescale 0.5
Category
Demo
Context
Client
Type
Not recorded
Reference value
Not recorded
CS2 reference
Details →
demo_togglepauseDemo · Client

Switches between playing and paused states.

Syntax & details
demo_togglepause

Example

demo_togglepause
Category
Demo
Context
Client
Type
Not recorded
Reference value
Not recorded
CS2 reference
Details →
demouiDemo · Client

Toggles the demo playback interface.

Syntax & details
demoui

Example

demoui
Category
Demo
Context
Client
Type
Not recorded
Reference value
Not recorded
CS2 reference
Details →
demo_gotomarkDemo · Client

Returns playback to a previously marked tick.

Syntax & details
demo_gotomark

Example

demo_gotomark
Category
Demo
Context
Client
Type
Not recorded
Reference value
Not recorded
CS2 reference
Details →
repeat_last_console_commandDemo · Client

Runs the last console command again.

Syntax & details
repeat_last_console_command

Example

repeat_last_console_command
Category
Demo
Context
Client
Type
Not recorded
Reference value
Not recorded
CS2 reference
Details →
playdemoDemo · Client

Opens a local demo recording for playback.

Syntax & details
playdemo <demo filename>

Example

playdemo match.dem
Category
Demo
Context
Client
Type
Not recorded
Reference value
Not recorded
CS2 reference
Details →
demo_gototickDemo · Client

Seeks to the specified tick in the recording.

Syntax & details
demo_gototick <tick>

Example

demo_gototick 10000
Category
Demo
Context
Client
Type
Not recorded
Reference value
Not recorded
CS2 reference
Details →
demo_step_tickDemo · Client

Advances the demo by a specified number of ticks and pauses.

Syntax & details
demo_step_tick <ticks>

Example

demo_step_tick 1
Category
Demo
Context
Client
Type
Not recorded
Reference value
Not recorded
CS2 reference
Details →
demo_marktickDemo · Client

Marks a tick to revisit during demo review.

Syntax & details
demo_marktick

Example

demo_marktick
Category
Demo
Context
Client
Type
Not recorded
Reference value
Not recorded
CS2 reference
Details →
nextdemoDemo · Client

Advances to the next demo in a playback sequence.

Syntax & details
nextdemo

Example

nextdemo
Category
Demo
Context
Client
Type
Not recorded
Reference value
Not recorded
CS2 reference
Details →
recordDemo · Client

Begin recording a local demo with the specified name.

Syntax & details
record <demo filename>

Example

record geekhub_practice
Category
Demo
Context
Client
Type
ConCommand
Reference value
Not recorded
CS2 reference
Details →
stopDemo · Client

Finish recording the current demo.

Syntax & details
stop

Example

stop
Category
Demo
Context
Client
Type
ConCommand
Reference value
Not recorded
CS2 reference
Details →
startdemosDemo · Client

Begin playback of the configured demo sequence.

Syntax & details
startdemos

Example

startdemos
Category
Demo
Context
Client
Type
ConCommand
Reference value
Not recorded
CS2 reference
Details →
stopdemosDemo · Client

End repeated demo playback after the currently playing demo completes.

Syntax & details
stopdemos

Example

stopdemos
Category
Demo
Context
Client
Type
ConCommand
Reference value
Not recorded
CS2 reference
Details →
tv_recordDemo · Server

Start server-side SourceTV recording on an appropriately configured server.

Syntax & details
tv_record <demo filename>

Example

tv_record geekhub_match
Category
Demo
Context
Server
Type
ConCommand
Reference value
Not recorded
CS2 reference
Details →
tv_stoprecordDemo · Server

Finish the ongoing SourceTV recording.

Syntax & details
tv_stoprecord

Example

tv_stoprecord
Category
Demo
Context
Server
Type
ConCommand
Reference value
Not recorded
CS2 reference
Details →
tv_allow_autorecording_indexDemo · Server

Restrict automatic broadcast recording to a particular TV instance when nonnegative.

Syntax & details
tv_allow_autorecording_index [value (optional; omit to inspect)]

Example

tv_allow_autorecording_index
Category
Demo
Context
Server
Type
ConVar
Reference value
-1
CS2 reference
Details →
tv_autorecordDemo · Server

Enable automatic recording of matches as broadcast demos.

Syntax & details
tv_autorecord [value (optional; omit to inspect)]

Example

tv_autorecord
Category
Demo
Context
Server
Type
ConVar
Reference value
false
Documented values
0 / 1 (boolean)
CS2 reference
Details →
tv_record_immediateDemo · Server

Choose whether a broadcast recording starts at command execution rather than including delayed footage.

Syntax & details
tv_record_immediate [value (optional; omit to inspect)]

Example

tv_record_immediate
Category
Demo
Context
Server
Type
ConVar
Reference value
0
CS2 reference
Details →
benchframeDemo · Client

Capture a frame snapshot during time-demo benchmarking.

Syntax & details
benchframe

Example

benchframe
Category
Demo
Context
Client
Type
ConCommand
Reference value
Not recorded
Recorded flags
release
CS2 reference
Details →
ui_render_task_fpsDemo · Client

Render-task frame rate preference; interpretation inferred from identifier.

Syntax & details
ui_render_task_fps [optional value; omit to query]

Example

ui_render_task_fps
Category
Demo
Context
Client
Type
ConVar
Reference value
60
Recorded flags
clientdll, release
CS2 reference
Details →
ui_render_task_fileDemo · Client

Render-task filename preference; interpretation inferred from identifier.

Syntax & details
ui_render_task_file [optional value; omit to query]

Example

ui_render_task_file
Category
Demo
Context
Client
Type
ConVar
Reference value
rendertask
Recorded flags
clientdll, release
CS2 reference
Details →

Copy manually

Clipboard access is unavailable. Select and copy the text below.