CS2 Console Commands List

  • Page 76

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
gameui_hide

This command will close the game UI (pause menu), provided it is open.

Examples, Generator & More
gameui_hide
g_debug_angularsensor
g_debug_angularsensor
g_debug_constraint_sounds
g_debug_constraint_sounds
g_debug_ragdoll_visualize
g_debug_ragdoll_visualize
givecurrentammo

This command will top up your ammo to its maximum level for the weapons you currently have.

Examples, Generator & More
givecurrentammo
gl_clear_gray

This command clears the back buffer to gray every frame when enabled. Primarily used for debugging purposes, it overwrites the screen with a gray color to help identify visual issues.

Examples, Generator & More
gl_clear_gray <0 / 1>
gl_clear_randomcolor

This command will clear the back buffer to random colors every frame. This is useful for debugging, to spot open seams in geometry.

Examples, Generator & More
gl_clear_randomcolor
global_set

This command will set the state of the specified global variable. See argument information for help with state types.

Examples, Generator & More
global_set <Variable Name><0 / 1 / 2>
glow_outline_width

This command will set the width of glow outline effects, if they are enabled.

Examples, Generator & More
glow_outline_width <Width>
god

This command will toggle god mode. In god mode, your player will not be able to take damage and will never die.

Examples, Generator & More
god
gotv_theater_container
gotv_theater_container
grep

The 'grep' command is not directly associated with Counter-Strike 2 gameplay or configurations. In general context, 'grep' is a command-line utility for searching plain-text data sets for lines that match a regular expression. It seems there's been a misunderstanding in the command's application context.

Examples, Generator & More
grep
healthshot_allow_use_at_full

This command, if set to 1 (default) will allow players to use healthshots when already at maximum health. Set to 0 to disallow.

Examples, Generator & More
healthshot_allow_use_at_full <0 / 1>
healthshot_health

This command sets the amount of health that a healthshot heals.

Examples, Generator & More
healthshot_health <Amount>
healthshot_healthboost_damage_multiplier

This command sets the damage multiplier for damage dealt by a player after having consumed a healthshot. The damage they deal will be multiplied by this number. The amount of time this applies for is set by the healthshot_healthboost_time cvar. Default is 1 (disabled).

Examples, Generator & More
healthshot_healthboost_damage_multiplier <Multiplier>
healthshot_healthboost_speed_multiplier

This command sets the speed multiplier for a player after having consumed a healthshot. Their movement speed will by multiplied by this number. The amount of time this applies for is set by the healthshot_healthboost_time cvar. Default is 1 (disabled).

Examples, Generator & More
healthshot_healthboost_speed_multiplier <Multiplier>
healthshot_healthboost_time

This command sets the amount of time, in seconds, that a player receives healthboost for after consuming a healthshot. This is also the amount of time that the damage and speed multipliers will have an effect for.

Examples, Generator & More
healthshot_healthboost_time <Seconds>
help

This command will print to console help for the command with the specified name. You need to specify a full command (not just part of the command).

Examples, Generator & More
help <Command>
hideconsole

This command will hide the console (same as pressing the console key again).

Examples, Generator & More
hideconsole
hidehud

This command, if set to 1 (default) will show the game's HUD. If set to -1, the game's HUD will be hidden.

Examples, Generator & More
hidehud <0 / -1>