CS2 Console Commands List

  • Page 104

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
script_dump_all
script_dump_all
script_help
script_help
script_reload_code
script_reload_code
script_reload_entity_code
script_reload_entity_code
sc_setclassflags

This command is used to set specific flags for a given object class, altering its behavior or properties at a low level.

Examples, Generator & More
sc_setclassflags <Classname><Value>
sc_showclasses

This command lists all the object class names that are recognized by the game's scenesystem, used mainly for debugging and development purposes.

Examples, Generator & More
sc_showclasses
servercfgfile

This command sets your server's config file to the specified config file.

Examples, Generator & More
servercfgfile <Config File Name>
setang

This command sets your view to the specified pitch, yaw and (optional) roll.

Examples, Generator & More
setang <Pitch><Yaw><Roll>
setang_exact

This command sets your view to the specified pitch, yaw and (optional) roll.

setang_exact <Pitch><Yaw><Roll>
setinfo

This command can be used to add a new user info value.

Examples, Generator & More
setinfo <Key><Value>
setmodel
setmodel
setpause
setpause
setpos

This command teleports your player to the specified X, Y and Z coordinates.

Examples, Generator & More
setpos <X><Y><Z>
setpos_exact

This command teleports your player to the specified X, Y and Z coordinates.

setpos_exact <X><Y><Z>
setpos_player

This command moves the specified user to the specified X, Y and Z coorinates. User ID is the number that's shown in the "status" command next to their name (usually 1-10).

Examples, Generator & More
setpos_player <User ID><X><Y><Z>
shake

This command shakes the screen.

Examples, Generator & More
shake
shake_stop

This command stops the screen from shaking (usually started by the shake command).

Examples, Generator & More
shake_stop
shake_testpunch

This command makes your screen shake as-if you were just punched.

Examples, Generator & More
shake_testpunch
shatterglass_debug

Activates or deactivates the debugging mode for glass shattering effects, providing visual or log feedback about the glass shattering process.

Examples, Generator & More
shatterglass_debug <0 / 1>
showconsole

This command opens the console.

Examples, Generator & More
showconsole