CS2 Console Commands List

  • Page 70

Below is Total CS' searchable list of all CS2 console commands. Each command in our database has detailed documentation, with help and argument explanation (hover over a command to view). Click on a command's name to visit its individual page, on which you can find more information including working examples and its default setting or value.

Type the name of a command into the search box to instantly filter our entire database of commands. Toggle between different views by pressing the "Card View" and "Table View" buttons.

If you are looking for a more specific selection of commands, you may prefer to sort by category.

Updated for CS2: We've updated our list to include over 1,000 console commands that were added in CS2.

We're the only website that has a complete list of all Counter-Strike 2 commands with complete documentation and examples. CS:GO Commands are hidden from this list by default. If you're playing on CS:GO, check the "Show CS:GO Commands" box to show commands that exist in Counter-Strike: Global Offensive.

How to Use CS:GO & CS2 Commands
  1. Enable the developer console:

    Go to Settings > Game Settings and set "Enable Developer Console" to "Yes".

  2. Press ` or ~ on your keyboard.

  3. Enter a command and hit ENTER on your keyboard to run it!

Are you still stuck? More Help
Loading...

Commands List

Command Description More
demo_info

This command prints to console information about the demo that is currently playing.

Examples, Generator & More
demo_info
demo_recordcommands

This command records any commands typed into the console and saves them in a .dem file.

Examples, Generator & More
demo_recordcommands <0 / 1>
demoui

This command will toggle the visibility of the demo player UI. With the demo UI open, you can speed up and slow down demo playerback, skip rounds, etc.

Examples, Generator & More
demoui
dev_add_onground_on_spawn

Determines if the on-ground status of players should be altered upon spawning. This command is used for debugging purposes to avoid issues related to players' ground collision status on spawn.

Examples, Generator & More
dev_add_onground_on_spawn <0 / 1>
differences

This command will print a list of all game convars that are not set to their default value to the console.

Examples, Generator & More
differences
disconnect

This command will disconnect you from your current game and return you to the home screen (including offline games with bots, scenarios, etc).

Examples, Generator & More
disconnect
display_game_events

This command, if enabled, will print the name of each event that is fired in your game. E.g. when a bomb is dropped, "bomb_dropped" will be printed to console, when a player footstep noise is made, "player_footstep" will be printed to console.

Examples, Generator & More
display_game_events
dlight_debug

This command will spawn a dynamic light at the current location of your crosshair. Useful for debugging lighting issues.

Examples, Generator & More
dlight_debug
dm_togglerandomweapons

This command will toggle whether or not you spawn with random weapons after dying in the deathmatch gamemode. This effect is applied to all players.

Examples, Generator & More
dm_togglerandomweapons
dota_enable_spatial_audio

Enables or disables spatial audio in Dota 2, enhancing the 3D sound experience depending on the game environment.

Examples, Generator & More
dota_enable_spatial_audio <0 / 1>
dota_spatial_audio_mix

Adjusts the balance between spatial and non-spatial audio elements in Dota 2, enhancing the overall game sound experience.

Examples, Generator & More
dota_spatial_audio_mix <0 / 1>
drawcross

This command will spawn a cross at the given X, Y and Z coordinates. Use the cl_showpos 1 command to find out your current coordinates (it is shown as "pos: X Y Z", where X Y and Z are your coordinates).

Examples, Generator & More
drawcross <X><Y><Z>
drawline

This command will draw a line between two given sets of coordinates.

Examples, Generator & More
drawline <X Y Z><X Y Z>
dsp_dist_max
dsp_dist_max
dsp_dist_min
dsp_dist_min
dsp_off
dsp_off
dsp_volume
dsp_volume
dump_panorama_css_properties

This command produces a detailed list of all properties from the Panorama UI that use CSS (a coding language).

Examples, Generator & More
dump_panorama_css_properties
dump_panorama_events

This command is used to show all of the event types used in the Panorama, and how they are triggered. Something for those of you who understand code!

Examples, Generator & More
dump_panorama_events
echo

This command will print a specified message to the console. Commonly used server-side to print a message to the console of all players (if you are in a private game, this command is a little useless).

Examples, Generator & More
echo <Text>