demo_quitafterplayback Command

Explore usage, syntax, and examples for the demo_quitafterplayback CS2 developer console command.

demo_quitafterplayback

CS2 Only

Command

demo_quitafterplayback

<0 / 1>

When enabled, this command makes the game automatically quit after a demo finishes playing.

<0 / 1>

Set to 1 to quit the game automatically after demo playback; set to 0 to stay in the game.

sv_cheats Required

No

Client or Server Command

Unspecified

Default Value

0

demo_quitafterplayback Generator

Command

demo_quitafterplayback

<0 / 1>
0/1 Arguments Selected

Set the options below to auto-generate your command. When everything looks good, click the Copy button and paste it into your in-game console.

0 / 1

demo_quitafterplayback Examples

Command

demo_quitafterplayback

1

Starts the auto-quit feature so the game closes after the demo ends.

Command

demo_quitafterplayback

0

Disables auto-quit, keeping the game running after demo playback.