Weapon & Shooting Commands
Weapon behavior, buy commands, and shooting-related settings.
17 commands17 multiplayer safe
All Weapon & Shooting Commands (17)
cl_autowepswitchAuto-switch to picked up weapons (0=off, 1=on)
cl_use_opens_buy_menuUse key opens buy menu in buy zone (0=off)
closeonbuyClose buy menu after purchasing (0=stay open)
cl_autohelpShow automatic help/hint messages
cl_showhelpShow on-screen help tips
buyBuy a weapon (e.g. buy ak47, buy vesthelm)
slot1Switch to primary weapon
slot2Switch to secondary weapon (pistol)
slot3Switch to knife
slot4Switch to grenades
slot5Switch to C4 / defuse kit
lastinvSwitch to last used weapon (quick-switch)
invnextCycle to next weapon in inventory
invprevCycle to previous weapon in inventory
+reloadReload current weapon
dropDrop the currently held weapon
cl_crosshair_recoilCrosshair follows recoil (0=static, 1=follows spray)
Other Command Categories
Related Resources:All Console CommandsDamage CalculatorWeapon ComparePractice ConfigBind GeneratorAll 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.