Weapon & Shooting Commands
Weapon behavior, buy commands, and shooting-related settings.
17 commands 17 multiplayer safe
All Weapon & Shooting Commands (17)
cl_autowepswitch Auto-switch to picked up weapons (0=off, 1=on)
cl_use_opens_buy_menu Use key opens buy menu in buy zone (0=off)
closeonbuy Close buy menu after purchasing (0=stay open)
cl_autohelp Show automatic help/hint messages
cl_showhelp Show on-screen help tips
buy Buy a weapon (e.g. buy ak47, buy vesthelm)
slot1 Switch to primary weapon
slot2 Switch to secondary weapon (pistol)
slot3 Switch to knife
slot4 Switch to grenades
slot5 Switch to C4 / defuse kit
lastinv Switch to last used weapon (quick-switch)
invnext Cycle to next weapon in inventory
invprev Cycle to previous weapon in inventory
+reload Reload current weapon
drop Drop the currently held weapon
cl_crosshair_recoil Crosshair follows recoil (0=static, 1=follows spray)
Other Command Categories
Related Resources: All Console Commands Damage CalculatorWeapon Compare Practice Config Bind Generator All Tools
Frequently Asked Questions
- How many weapon & shooting commands are there in CS2?
- There are 17 weapon & shooting commands in CS2. 17 can be used in any game mode, and 0 require sv_cheats 1.
- Which weapon & shooting commands require sv_cheats?
- None of the weapon & shooting commands require sv_cheats. All 17 commands can be used in any game mode including competitive matchmaking.
- How do I use weapon & shooting commands in CS2?
- Open the developer console by pressing the tilde key (~). If it does not open, enable it in Settings > Game > Enable Developer Console. Then type the command and press Enter. You can add these commands to your autoexec.cfg for them to run automatically on launch.
- How do I save console commands permanently?
- Create an autoexec.cfg file in your CS2 cfg folder (Steam/steamapps/common/Counter-Strike Global Offensive/game/csgo/cfg/) and add your commands there. End the file with host_writeconfig. These commands run automatically every time CS2 launches.