Enable the developer console:
Go to Settings > Game Settings and set "Enable Developer Console" to "Yes".
Press ` or ~ on your keyboard.
Enter a command and hit ENTER on your keyboard to run it!

Commands List
Command | Description | More | Syntax |
---|---|---|---|
ui_playsettings_flags_listen_scrimcomp2v2 | Controls whether 2v2 scrimmage mode is available in listen servers. |
Examples, Generator & More | ui_playsettings_flags_listen_scrimcomp2v2
<0 / 1>
|
ui_playsettings_flags_listen_skirmish | 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. |
Examples, Generator & More | ui_playsettings_flags_listen_skirmish
<0 / 1>
|
ui_playsettings_flags_listen_survival | This command configures the default game mode settings for listen servers in Survival mode. |
Examples, Generator & More | ui_playsettings_flags_listen_survival
<0 / 1>
|
ui_playsettings_flags_official_skirmish | This command is used to configure user interface settings related to official skirmish matches in the play settings. |
Examples, Generator & More | ui_playsettings_flags_official_skirmish
<0 / 1>
|
ui_playsettings_flags_official_survival | This command is used to configure UI play settings related to the official survival game modes in Counter-Strike 2. |
Examples, Generator & More | ui_playsettings_flags_official_survival
<0 / 1>
|
ui_playsettings_survival_solo | This command sets the player's preference for playing solo in Survival game modes, such as Danger Zone. |
Examples, Generator & More | ui_playsettings_survival_solo
<0 / 1>
|
ui_show_unlock_competitive_alert | This command determines whether the alert message for unlocking Competitive mode is shown to the player. |
Examples, Generator & More | ui_show_unlock_competitive_alert
<0 / 1>
|
viewmodel_presetpos | This command will set your X/Y/Z viewmodel offsets to a preset configuration. See argument information for help. |
Examples, Generator & More | viewmodel_presetpos
<1 / 2 / 3>
|
zoom_sensitivity_ratio | 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. |
Examples, Generator & More | zoom_sensitivity_ratio
<Sensitivity scale>
|
binddefaults | Resets all key bindings to their default values. |
Examples, Generator & More | binddefaults
|
cl_autobuy | 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. |
Examples, Generator & More | cl_autobuy
<Weapon Codes>
|
cl_buywheel_donate_key | This command sets the specific key used for donations in the buy menu. |
Examples, Generator & More | cl_buywheel_donate_key
<0 / 1>
|
cl_clutch_mode | 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. |
Examples, Generator & More | cl_clutch_mode
<0 / 1>
|
cl_crosshaircolor_b | 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. |
Examples, Generator & More | cl_crosshaircolor_b
<Blue Value>
|
cl_crosshaircolor_g | 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. |
Examples, Generator & More | cl_crosshaircolor_g
<Green Value>
|
cl_crosshaircolor_r | 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. |
Examples, Generator & More | cl_crosshaircolor_r
<Red Value>
|
cl_crosshairgap_useweaponvalue | When activated, this command will dynamically adjust the size of your crosshair depending on what weapon you have equipped at the time. |
Examples, Generator & More | cl_crosshairgap_useweaponvalue
<0 / 1>
|
cl_disable_round_end_report | This command disables the round end report that typically shows the scoreboard and other statistics at the end of each round. |
Examples, Generator & More | cl_disable_round_end_report
<0 / 1>
|
cl_hud_telemetry_ping_poor | 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. |
Examples, Generator & More | cl_hud_telemetry_ping_poor
<Ping Threshold>
|
cl_hud_telemetry_ping_show | This command controls whether the player's ping is displayed in the HUD and under which conditions. |
Examples, Generator & More | cl_hud_telemetry_ping_show
<0 / 1 / 2>
|