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.

thirdperson
This command will put you in third-person mode. You can use the first-person command to return.
Examples, Generator & More
ping
This command will print the console to your ping, to the server you are connected to.
Examples, Generator & More
restart
This command restarts the current game - including map & scores.
Examples, Generator & More
endround
The end round command can immediately end CS:GO and CS2 rounds. It forces rounds to finish without deciding who won or lost them, thus resetting games for subsequent rounds while keeping current scores.
Examples, Generator & More
sv_specnoclip
<0 / 1>
The sv_specnoclip command in CS: GO and CS2 controls whether a spectator can utilize the noclip mode.
Name:
0 / 1
Description:
0 turns off noclipping mode for spectators.
1 allows noclipping mode for spectators (default).
Examples, Generator & More
sv_steamgroup
<Group ID>
The "sv_steamgroup" command lets you establish the official Steam group for the server by providing its ID as input. For instance, if you wish to designate the CSGOAtse Steam group as the server's official one, you'll first need to find its ID. Then, you can enter this ID along with the sv_steamgroup command to set it up accordingly.
Name:
Group ID
Description:
The ID, which can be found on the group admin profile page.
Examples, Generator & More
weapon_accuracy_nospread
weapon_accuracy_nospread
<0 / 1>
This command toggles the spread of weapon inaccuracy, affecting their precision. When enabled, all weapons become 100% accurate regardless of distance. When disabled, each weapon's accuracy varies depending on the distance.
Name:
0 / 1
Description:
The command is “weapon_accuracy_nospread” and it accepts two arguments: 1 and 0. 1 stands for “true”, and 0 stands for “false”. When it’s set at 1, it means the command is enabled, and hence all the weapons will be 100% accurate regardless of the distance. And when it’s set at 0, it will introduce differing accuracy for all weapons.
Examples, Generator & More
m_pitch
<Y Sensitivity>
This command will control the sensitivity of your Y-axis. This means that it will only adjust your look sensitivity when you are looking up and down in the game.
Name:
Y Sensitivity
Description:
The sensitivity that you wish to set your Y axis this is up/down.
Examples, Generator & More
givecurrentammo
It’s a cheat command you can use to top up the ammo of your current weapons to the maximum level. Instead of having to buy them, this command will top them up instantly for free. Given its nature and action, it’s a cheat code and you cannot use it in public matches, unless it’s been enabled by the server admin or host.
Examples, Generator & More
speed
<-speed> <+speed>
They are two commands that allow you to slow down or restore the default speed of your character in the game: +speed and -speed. The first one will make your character slower, while the second one will return it to normal speed.
Name:
-speed
Description:
This command will return the speed back to normal.
Name:
+speed
Description:
The console command will slow down the movement of your in-game character.
Examples, Generator & More
exec
<File Name>
This command allows you to execute a specific script file directly from the developer console, by inputting it along with the file name of the script as an argument. Below, you will find all the information about it, to understand what this command is and how it works.
Name:
File Name
Description:
Located in \Steam\steamapps\common\Counter-Strike Global Offensive\csgo\cfg\ by default.
Examples, Generator & More
impulse
<81/ 203>
It is a command you can input in conjunction with a specific code to execute predefined effects ranging from spawning skulls to spraying blood. As such, it doesn’t serve a specific functional purpose in the game, as opposed to other commands, yet it’s a fun bit of code you can play around with.
Name:
81/ 203
Description:
You can input 81 all the way to 203.
Examples, Generator & More
exit
The exit command. It is like a kill switch that executes automatically upon inputting it in the console, immediately closing the game.
Examples, Generator & More
removeid
<Steam ID>
This command lets you remove a user from your server's ban list. You just need to provide the Steam ID of the user you want to unban as its argument, and it takes effect right away. It's a vital tool for managing CS:GO servers.
Name:
Steam ID
Description:
Input the Steam ID of the person you wish to ban from your server.
Examples, Generator & More
cl_interp_ratio
<Interp Ratio>
It is a command that allows you to adjust the interpolation from the player’s view in CS:GO matches. Hence, it allows you to customize how much interpretation is done by the client side.
Name:
Interp Ratio
Description:
The number you would like to set as the inter rate. Default value is set at 2.
Examples, Generator & More
dm_togglerandomweapon
dm_togglerandomweapon
It is a CS:GO Deathmatch command that defines whether players will spawn with random weapons after dying or not. It’s designed as a client cvar, hence users only have to input it via the console and it will take effect immediately, without having to add an argument.
Examples, Generator & More
viewmodel_recoil
<Recoil>
It is a command that allows you to adjust the recoil when firing your weapon and taking aimpunch (getting hit in the head or body without armor). It uses values ranging from 1 to 0, with 1 being the default setting. Values closer to zero indicate less recoil displayed by the viewmodel.
Name:
Recoil
Description:
The default value is 1, input a lower number to reduce the visible view model recoil.
Examples, Generator & More
map
<Map Code>
It is a command that allows you to change maps instantly. For example, you can change from Nuke to Inferno by simply inputting it via console and using “inferno” as the argument. It covers all the existing maps in CS:GO, allowing you to change locations easily at will.
Name:
Map Code
Description:
This is the name of the map you wish to play for example map de_train, you will need to use map codes.
Examples, Generator & More
mat_monitorgamma
It is a console command that will allow you to set up the highest brightness in-game by adjusting the gamma (mid tones between dark and light). As a result, the game will reach its maximum possible brightness.
Examples, Generator & More
developer
<Level>
This command grants access to debug information within the game. Depending on your preferences, you can adjust it to display either minimal or comprehensive debug data.
Name:
Level
Description:
1: Only will bring you the most important debug information and messages
2: It will bring you more debug data and messages compared to the mode “1”
3: It will bring you the same amount of debug data and messages as mode “2”
4: It will bring you the maximum amount of debug data and messages
Examples, Generator & More
stats
This command will print the console information which includes the server's performance.
Examples, Generator & More
spray_menu
<-spray_menu> <+spray_menu>
This command will open up the graffiti spray menu and can close the spray menu.
Name:
-spray_menu
Description:
This command hides the spray menu.
Name:
+spray_menu
Description:
This command will open up the graffiti spray menu.
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.