Input Commands

Here you will find at the possible input console commands from the CS:GO series. Below listed, are the commands that allow you to accommodate an action input on your mouse, keyboard or other devices.

sv_ent_showonlyhitbox
sv_ent_showonlyhitbox
<Entity ID>
This command highlights only the hitbox of a specific entity in the game, allowing for better seen hit detections.
Name:
Entity ID
Description:
This will specify the ID of the hitbox which will be highlighted.
Examples, Generator & More
cl_deathnotices_show_numbers
cl_deathnotices_show_numbers
<0 / 1>
This command will control if numbers are displayed in the death notices in CS2.
Name:
0 / 1
Description:
1 to enable 0 to disable
Examples, Generator & More
cl_showerror
<0 / 1>
This will Produce a list of error commands in your console if any are occuring.
Name:
0 / 1
Description:
1 to enable, 2 to enable it for a more detailed report. 0 will turn the command off.
Examples, Generator & More
cl_ent_show_damage
cl_ent_show_damage
<0 / 1>
This command will set a damage the damage recieved at the top of the players head in CS2.
Name:
0 / 1
Description:
0 to disable 1 to enable.
Examples, Generator & More
ui_mainmenu_bkgnd_movie_B0B70CFF
ui_mainmenu_bkgnd_movie_B0B70CFF
<Movie Name>
This command will set the background for the main movie in CS2.
Name:
Movie Name
Description:
The name of the movie that you would like to set as the background.
Examples, Generator & More
cl_crosshair_sniper_width
cl_crosshair_sniper_width
<Pixels>
This command will set the width, in pixels, of the width of the crosshair when scoped in with any sniper rifle.
Name:
Pixels
Description:
Width of the crosshair in pixels.
Examples, Generator & More
r_fullscreen_gamma
r_fullscreen_gamma
This will adjust the gamma value only when in fullscreen mode. Lower Values will make the screen go brighter, higher values will make it go darker.
Examples, Generator & More
god
This command will enable god mode on, your player will not take damage anymore and you will be invincible.
Examples, Generator & More
sv_showimpacts_penetration
sv_showimpacts_penetration
<0 / 1>
This command when enabled will show extra information at the impact locations
Name:
0 / 1
Description:
0 to diable 1 to enable.
Examples, Generator & More
log
<On/Off>
Using this command will allow you to log server data to the file and console.
Name:
On/Off
Description:
Entering the word on after the command will enable it, input off after the command to stop the log.
Examples, Generator & More
cl_use_opens_buy_menu
cl_use_opens_buy_menu
<Value>
This command determines ifot you can use the "+use" key (which is usually E) when in the player is in the buy zone to open the buy menu.
Name:
Value
Description:
Input a 0 after this command to turn off using the +use key to open the buy menu, and use a 1 after the command which will turn this feature off.
Examples, Generator & More
spec_show_xray
<0 / 1>
This command will enable or disable x rays in overwatch or spectation.
Name:
0 / 1
Description:
1 to enable 0 to disable. 1 is default value.
Examples, Generator & More
buymenu
This command will enable or disable the buymenu, you need to be standing in the buy zone and is in the time limit.
Examples, Generator & More
fps_max
<FPS Cap>
This command sets the max FPS in for the game in the client.
Name:
FPS Cap
Description:
0 to remove the FPS cap it will not go above this number. Or set to your required FPS cap.
Examples, Generator & More
strafe
<+strafe> <-strafe>
Look at what exactly Strafe commands do in Counter-Strike: Global Offensive - and how you can use them to get an advantage over your opponents.
Name:
+strafe
Description:
This command will disable the mouse's ability to adjust where your player model is looking. Instead, the mouse movement will cause your character to strafe (move your character sideways). You can turn off this effect using the -strafe command.
Name:
-strafe
Description:
This command will disable the effect of the +strafe command - and restore your mouse's ability to control the camera and look around.
Examples, Generator & More
toggle
<Command> <Values>
The toggle command allows you to switch a convar on and off (between 0 and 1) or cycle it through its values.
Name:
Command
Description:
Where is the convar you want to toggle.
Name:
Values
Description:
Values> is optional. If not specified, the command will toggle between 0 and 1. You can specify a list of values to cycle through, separated by spaces (e.g., "0 1 2 3" without quotes).
Examples, Generator & More
cl_disablehtmlmotd
cl_disablehtmlmotd
<0 / 1>
When set to 1, this command effectively disables HTML MOTDs, which prevents them from popping up and potentially disrupting your gameplay. These MOTDs are known for sometimes playing loud ads or containing various content that could be distracting - which is why you might want to disable them.
Name:
0 / 1
Description:
1 to disable HTML MOTD, 0 to enable.
Examples, Generator & More
duck
<+duck> <-duck>
If you already know how to crouch in CS GO, but you want to do it permanently without having to press CTRL all the time, you need to learn how to use the duck commands. Although it might sound pretty technical, it’s far easier than you think. In this guide, we’re going to share these special commands and how to use them via the developer console, so you can crouch and stand up at will in CS:GO.
Name:
+duck
Description:
This command will make your character crouch as if you were constantly pressing on CTRL
Name:
-duck
Description:
-duck: This command will make your character stand up.
Examples, Generator & More
plant_bomb
This command allows players to place bombs anywhere, regardless of where they are.
Examples, Generator & More
retry
It is a command you can use to reconnect to the last server you entered.
Examples, Generator & More
disconnect
If you want to log out of the server you are actively playing on, you can use this command.
Examples, Generator & More
cvarlist
<Command>
With this command, you will see a list of all console commands.
Name:
Command
Description:
If you want, you can make a list by specifying the parameter of any command.
Examples, Generator & More
timeleft
Shows the remaining time of the map being played.
Examples, Generator & More
sv_cheats
<0 / 1>
This command will allow you to set if cheat commands are allowed on the server. Cheat Commands are commands that will directly impact the gameplay and not just the client.
Name:
0 / 1
Description:
The default is set to 0. You can enable this command by inputting 1.
Examples, Generator & More
Show entries:

In a fast-paced shooter game like CS2, there are tons of different settings you can change. The game itself has its developer console, which every player can use for different commands. This offers a lot of diversity and versatility for the players. There are commands for almost anything connected to the game, and here you will learn everything about CS2 input commands.

How to Enable Developer Console in CS2?

If you want to use input commands in CS2, you will need to enable the developer console. Follow the steps below to do so:

  1. First, go to “Game Settings” and change the ‘’Enable Developer Console’’ setting to Yes
  2. After that, you can enter the game, open the developer console, and put down the commands you want to use. This will allow you to customize your game and in-game settings the way you want.

What Are Input Commands in CS2?

Input commands in CS2, are commands that make your character do a specific action. It can be used to create a specific macro, movement, and more. There are tons of different input commands that you can use and combine. These are the most important CS2 input commands you might need:

  • +attack – Activating this command will make your character use its primary attack over and over. If your character has an equipped gun, it will start shooting until the clip is empty and it needs to reload. Use ‘’-’’ instead of ‘’+’’ before the command to disable it.
  • +attack2 – Your character will use its secondary attack over and over after activating this command. For example, it will use your AWP scope or stab with the knife. To disable this command type ‘’-’’ instead of ‘’+’’ before the command in your console.
  • +back – Your character will start moving backwards endlessly after activating this command. To disable this command type ‘’-back’’ in your console. 
  • +duck – Using this command will make your character crouch, the same as holding your CTRL button on your keyboard. Use ‘’-’’ instead of ‘’+’’ in front of the command to stop it.
  • +forward – Your character will start moving forward endlessly after using this movement command. Use ‘’-’’ instead of ‘’+’’ before the command in your console to disable it.
  • +jump – This command will unbind your jump button and make your character jump once. To disable it type ‘’-jump’’ in your console.
  • +klook – After activating this command you will not be able to move your character forward with your keyboard. Use ‘’-’’ instead of ‘’+’’ before the command to deactivate it.
  • +moveleft – Your character will move left after using this command. Using ‘’-moveleft’’ will disable this command and make your character stop.
  • +moveright – Your character will move to the right after using this command. To stop this command type ‘’-’’ instead of ‘’+’’ in front of the command.
  • +reload – This command will make your character reload every time it shoots a bullet. Type ‘’-reload’’ to deactivate this command.
  • +right – Your camera will start spinning to the right continuously after you activate this command. Use ‘’-’’ instead of ‘’+’’ in front of the command to disable it
  • +left – Your camera will start spinning to the left without stopping after using this command. To stop it, use ‘’-’’ instead of ‘’+’’ when entering the command again.
  • +score – The scoreboard where you can see all the player’s kills, deaths, and assists will be shown after this command is used. Type ‘’-score’’ to remove the scoreboard from your screen. 
  • +use – This command will make your character automatically interact with an object on the map. For example, if you are carrying the bomb and you are on the bombsite, this command will make your character plant the bomb. Alternatively, if you are CT and you are near the bomb this command will make your character start defusing it, the same way the default keybind ‘’E’’ works. After this you will need to use the ‘’-use’’ command if you want to use this command again.
  •  +speed – Your character will move slower than the default movement speed. Use ‘’-’’ instead of ‘’+’’ before the command to make your character move with normal speed.
  •  button_info <Key or Button> – After using this command, you will see all the information regarding a specific button. It will show its technical state and if its bound to a specific action.
  • invnextselect – After using this command, the next item in your inventory will be automatically selected.
  •  +zoom – After using this command, it will make your AWP or Scout zoom in and stay like that until deactivated. This command can also trigger the alternate fire of other weapons, for example, the stab of the knife. Use ‘’-’’ instead of ‘’+’’ in front of the command to disable it.
  • repeat_last_console_command – This command will repeat the last command that was entered in the developer console. This can be helpful if you want to use the same command again.