CS2 Console Commands List

  • Page 7

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
Ad

Commands List

ui_playsettings_flags_listen_scrimcomp2v2 <0 / 1>

Controls whether 2v2 scrimmage mode is available in listen servers.

Name Description
0 / 1

Enable or disable the 2v2 scrimmage mode.

Examples, Generator & More
ui_playsettings_flags_listen_skirmish <0 / 1>

This command is used to configure the default play settings for setting up a skirmish match in a local listen server environment. It's likely used in the game's user interface configurations.

Name Description
0 / 1

Determines whether default play settings for skirmish matches in local listen servers are enabled or disabled.

Examples, Generator & More
ui_playsettings_flags_listen_survival <0 / 1>

This command configures the default game mode settings for listen servers in Survival mode.

Name Description
0 / 1

Enable or disable Survival mode as the default for listen servers.

Examples, Generator & More
ui_playsettings_flags_official_skirmish <0 / 1>

This command is used to configure user interface settings related to official skirmish matches in the play settings.

Name Description
0 / 1

Enables or disables official skirmish settings in the play UI.

Examples, Generator & More
ui_playsettings_flags_official_survival <0 / 1>

This command is used to configure UI play settings related to the official survival game modes in Counter-Strike 2.

Name Description
0 / 1

Setting this value determines whether the UI play settings for official survival modes are enabled or disabled.

Examples, Generator & More
ui_playsettings_survival_solo <0 / 1>

This command sets the player's preference for playing solo in Survival game modes, such as Danger Zone.

Name Description
0 / 1

Sets the preference for playing solo in Survival modes.

Examples, Generator & More
ui_show_unlock_competitive_alert <0 / 1>

This command determines whether the alert message for unlocking Competitive mode is shown to the player.

Name Description
0 / 1

Determines whether the alert is shown or not.

Examples, Generator & More
viewmodel_presetpos <1 / 2 / 3>

This command will set your X/Y/Z viewmodel offsets to a preset configuration. See argument information for help.

Name Description
1 / 2 / 3

A number to represent your desired preset. Options are:

  • 1 - Desktop
  • 2 - Couch
  • 3 - Classic
Examples, Generator & More
zoom_sensitivity_ratio <Sensitivity scale>

Modifies the player's mouse sensitivity when the player is zoomed in with a sniper rifle or scoped weapon. The default value is 1, which means no change.

Name Description
Sensitivity scale

The sensitivity scale factor to be applied when zoomed in.

Examples, Generator & More
binddefaults

Resets all key bindings to their default values.

Examples, Generator & More
cl_autobuy <Weapon Codes>

This command is used to set up your autobuy preferences, meaning you can purchase the most vital gear each round by just typing "autobuy" into your console once this is set up.

Name Description
Weapon Codes

Enter as many weapon codes as you'd like to assign to your autobuy. We have a full list of weapon codes here.. Enter the weapon codes without the "weapon_" attached. The correct format to enter them is with just the weapon name and a space between each one: weapon1 weapon2 weapon3 weapon4.

Examples, Generator & More
cl_buywheel_donate_key <0 / 1>

This command sets the specific key used for donations in the buy menu.

Name Description
0 / 1

Determines whether a specific key is set for donations in the buy menu or not.

Examples, Generator & More
cl_clutch_mode <0 / 1>

This command mutes voice chat and other potentially distracting sounds during clutch situations until the end of the round or until the player's next death.

Name Description
0 / 1

Whether to enable or disable clutch mode.

Examples, Generator & More
cl_crosshaircolor_b <Blue Value>

This console command allows you to set the color of your crosshair with detail, by adjusting its level of blue. The same command exists for red and green.

Name Description
Blue Value

The blue RGB value (up to 255) for the amount of blue color used in your crosshair color.

Examples, Generator & More
cl_crosshaircolor_g <Green Value>

This console command allows you to set the color of your crosshair with detail, by adjusting its level of green. The same command exists for red and blue.

Name Description
Green Value

The green RGB value (up to 255) for the amount of green color used in your crosshair color.

Examples, Generator & More
cl_crosshaircolor_r <Red Value>

This console command allows you to set the color of your crosshair with detail, by adjusting its level of red. The same command exists for green and blue.

Name Description
Red Value

The red RGB value (up to 255) for the amount of red color used in your crosshair color.

Examples, Generator & More
cl_crosshairgap_useweaponvalue <0 / 1>

When activated, this command will dynamically adjust the size of your crosshair depending on what weapon you have equipped at the time.

Name Description
0 / 1

Use the number 1 after this command to enable your crosshair changing as you change guns, and use a 0 to turn this feature off.

Examples, Generator & More
cl_disable_round_end_report <0 / 1>

This command disables the round end report that typically shows the scoreboard and other statistics at the end of each round.

Name Description
0 / 1

This argument controls whether the round end report is disabled (1) or enabled (0).

Examples, Generator & More
cl_hud_telemetry_ping_poor <Ping Threshold>

This command sets the threshold for when ping is considered 'poor' in milliseconds. If your ping is higher than this value, the game considers your connection poor.

Name Description
Ping Threshold

The threshold in milliseconds above which ping is considered poor.

Examples, Generator & More
cl_hud_telemetry_ping_show <0 / 1 / 2>

This command controls whether the player's ping is displayed in the HUD and under which conditions.

Name Description
0 / 1 / 2

Controls ping visibility in the HUD.

Examples, Generator & More
1 6 7 8 130