record
record
<Demo File Name>
This command will allow you to start recording your current game as a demo. You will need to use a specific file name. You can use the stop command to stop the recording. The Demo will be saved in Steam\steamapps\common\Counter-Strike Global Offensive\csgo. By default.
Name:
Demo File Name
Description:
The name of the file in which the demo will be saved.
EXTRA INFORMATION
Find additional information relating to this command below.
sv_cheats Required
No
Client or Server Command
Client
Default Value

In both Counter-Strike: Global Offensive and Counter-Strike 2, any player can toggle the in-game developer console and make use of commands to customize their gameplay for a variety of reasons. Say you want to record amazing clips for your next great video creation and need to remove all the clutter on the screen? The draw only death notices command exists for that! Want the round to never end even after multiple hours? It’s definitely possible!

But what if your sole purpose is to simply record your own gameplay for future usage? The Record Command exists to serve that exact purpose, and has supplementary commands to help assist you on how to record a demo in CS:GO/CS2.

How Do You Use The Command?

To use any command in the game, you must first access the in-game developer console which is usually bound to the ~ key on your keyboard. In the event your keyboard doesn’t have this key, you can bind the console to open upon pressing any available button you have. Since host_writeconfig is not considered a cheat command, there is no need to input “sv_cheats 1” on the console.

Now, simply type or copy and paste the command “record <Demo File Name>” to the console. The <Demo File Name> portion cannot be left blank as the game needs to know what name to give the file that will be created after the match ends. After pasting the command and pressing enter, the game will automatically be recorded as a demo and can be viewed afterwards. Typing “stop” in the console will automatically end the recording at that point in time.

When Can You Use The Command?

The command “record <Demo File Name>” can be used in any game session, even in official matchmaking. The Record Command does not affect the overall gameplay experience or any other players and simply serves as a real-time recording.