Browse all CS2 console commands and variables related to viewmodel and weapon behavior. This group includes commands for weapon position, viewmodel offsets, field of view, hand placement, animations, and other weapon display settings.
If you want to change which side your weapon appears on, see my How to Switch Weapon Hand in Counter-Strike 2 guide. It covers hand switching, console commands, binds, and related viewmodel settings.
Use the filter below to find a specific viewmodel or weapon command. The table includes each entry's description, default value, type, and flags, making it easier to compare related settings and find the command you need.
sv_cheats 1, so on your own server or in offline practice. On a matchmaking server it does nothing.
| Command | Description | Default | Type | Flags |
|---|---|---|---|---|
-lookatweapon |
Starts and stops the weapon inspect action. | — | cmd | |
+lookatweapon |
Starts and stops the weapon inspect action. | — | cmd | |
ammo_ |
Sets the maximum reserve ammo for the .338 Magnum ammo type. | 30 | cvar | |
ammo_ |
Sets the maximum reserve ammo for the .357 SIG ammo type. | 52 | cvar | |
ammo_ |
Sets the maximum reserve ammo for the .357 SIG Min ammo type. | 12 | cvar | |
ammo_ |
Sets the maximum reserve ammo for the P250 .357 SIG ammo type. | 26 | cvar | |
ammo_ |
Sets the maximum reserve ammo for the .357 SIG Small ammo type. | 24 | cvar | |
ammo_ |
Sets the maximum reserve ammo for the .45 ACP ammo type. | 100 | cvar | |
ammo_ |
Sets the maximum reserve ammo for the .50 AE ammo type. | 35 | cvar | |
ammo_ |
Sets the maximum reserve ammo for the 5.56 mm Box ammo type. | 200 | cvar | |
ammo_ |
Sets the maximum reserve ammo for the 5.56 mm ammo type. | 90 | cvar | |
ammo_ |
Sets the maximum reserve ammo for the 5.56 mm Small ammo type. | 40 | cvar | |
ammo_ |
Sets the maximum reserve ammo for the 5.7 mm ammo type. | 100 | cvar | |
ammo_ |
Sets the maximum reserve ammo for the 7.62 mm ammo type. | 90 | cvar | |
ammo_ |
Sets the maximum reserve ammo for the 9 mm ammo type. | 120 | cvar | |
ammo_ |
Sets the maximum reserve ammo for buckshot. | 32 | cvar | |
ammo_ |
Sets the default carry limit for an individual grenade type. | 1 | cvar | |
ammo_ |
Sets the maximum number of flashbangs a player can carry. | 2 | cvar | |
ammo_ |
Sets the maximum total number of grenades a player can carry. | 4 | cvar | |
ammo_ |
Sets the carry limit for adrenaline items. | 5 | cvar | |
ammo_ |
Sets the maximum number of healthshots a player can carry. | 4 | cvar | |
autobuy |
Attempts to buy items in the order defined by cl_autobuy. | — | cmd | |
buymenu |
Shows or hides the main buy menu. | — | cmd | |
buyrandom |
Buys a random primary and secondary weapon, mainly for Deathmatch. | — | cmd | |
cl_ |
Defines the item purchase order used by the autobuy command. | vesthelm vest m4a1 ak47 famas galilar mp7 nova defuser | cvar | |
cl_ |
Sets the high-money threshold used by the CT next-round buy-menu estimate. | 5000 | cvar | saved to config |
cl_ |
Sets the low-money threshold used by the CT next-round buy-menu estimate. | 1400 | cvar | saved to config |
cl_ |
Sets the high-money threshold used by the T next-round buy-menu estimate. | 5000 | cvar | saved to config |
cl_ |
Sets the low-money threshold used by the T next-round buy-menu estimate. | 1400 | cvar | saved to config |
cl_ |
Sets the donation key in the buy menu (0 = Left Ctrl, 1 = Left Alt, 2 = Left Shift). | 0 | cvar | saved to config |
cl_ |
Prevents number keys from purchasing items through the buy wheel when enabled. | false | cvar | saved to config |
cl_ |
Prevents held secondary fire from repeatedly cycling zoom levels when enabled. | true | cvar | saved to config |
cl_ |
Gives the player a random weapon on each Deathmatch spawn when enabled. | true | cvar | saved to config |
cl_ |
Enables inventory tooltip debugging. | false | cvar | |
cl_ |
Selects a weapon immediately when the cursor highlights it in a radial inventory menu. | true | cvar | saved to config |
cl_ |
Controls tap-to-cycle behavior in radial inventory menus. | true | cvar | saved to config |
cl_ |
Stores the currently selected inventory filter. | all | cvar | saved to config |
cl_ |
Stores the currently selected inventory sorting method. | inv_sort_age | cvar | saved to config |
cl_ |
Stores the selected loadout sorting method. | inv_sort_age | cvar | saved to config |
cl_ |
Overrides the displayed weapon paint kit. | 0 | cvar | sv_cheats |
cl_ |
Sets left-handed weapon view as the player's preference. | false | cvar | saved to config |
cl_ |
Defines the order in which the rebuy command attempts to repurchase equipment. | Armor PrimaryWeapon Flashbang SmokeGrenade Defuser HEGrenade Flashbang SecondaryWeapon Mol... | cvar | |
cl_ |
Controls detachable silencers (0 = Cannot detach, 1 = Secondary fire detaches). | 0 | cvar | saved to config |
cl_ |
Automatically zooms a sniper rifle back in after firing. | true | cvar | saved to config |
cl_ |
Delays automatic unscoping after a sniper shot. | false | cvar | saved to config |
cl_ |
Returns to the last selected position within a weapon slot when switching back to that slot. | false | cvar | saved to config |
cl_ |
Allows the +use key to open the buy menu while the player is inside a buy zone. | false | cvar | saved to config |
cl_ |
Sets the penetration threshold for switching from a light to a heavy wallbang tracer. | 22 | cvar | sv_cheats |
cl_ |
Draws a circle representing effective weapon accuracy for each shot. | 0 | cvar | sv_cheats |
cl_ |
Sets how long the weapon accuracy debug visualization remains visible. | 10 | cvar | sv_cheats |
cl_ |
Uses item rarity colors in the weapon-selection interface. | false | cvar | saved to config |
csm_ |
Sets the maximum shadow distance for the viewmodel. | 21 | cvar | sv_cheats |
csm_ |
Sets the maximum visible distance used for viewmodel shadows. | 1000 | cvar | sv_cheats |
csm_ |
Sets the near clipping distance used for viewmodel shadows. | 0.5 | cvar | sv_cheats |
debug_ |
Purchases an item using its definition index. | — | cmd | |
dm_ |
Toggles random weapons in Deathmatch. | — | cmd | |
invnext |
Switches to the next weapon or inventory item. | — | cmd | |
invnextselect |
Selects the next inventory item without immediately activating it. | — | cmd | |
invprev |
Switches to the previous weapon or inventory item. | — | cmd | |
invprevselect |
Selects the previous inventory item without immediately activating it. | — | cmd | |
lastinv |
Switches back to the previously selected weapon. | — | cmd | |
r_ |
Includes the viewmodel in the depth pre-pass. | true | cvar | sv_cheats |
r_ |
Enables or disables rendering of the player's viewmodel. | true | cvar | sv_cheats |
rebuy |
Repurchases equipment using the order defined by cl_rebuy. | — | cmd | |
regenerate_ |
Regenerates weapon-skin resources. | — | cmd | sv_cheats |
remove_ |
Removes the specified weapon from the player. | — | cmd | sv_cheats |
sellbackall |
Attempts to refund all purchased equipment. | — | cmd | |
sv_ |
Controls extraction of ammunition from dropped weapons. | false | cvar | |
sv_ |
Sets the bias applied by strafing-related weapon inaccuracy. | 0.5 | cvar | sv_cheats |
sv_ |
Enables strafing-related weapon inaccuracy. | false | cvar | sv_cheats |
sv_ |
Sets the scale of strafing-related weapon inaccuracy. | 0.1 | cvar | sv_cheats |
sv_ |
Sets the minimum turning angle used by turning-related weapon inaccuracy. | 4 | cvar | sv_cheats |
sv_ |
Sets the decay rate of turning-related weapon inaccuracy. | 0.8 | cvar | sv_cheats |
sv_ |
Enables turning-related weapon inaccuracy. | false | cvar | sv_cheats |
switchhands |
Toggles the weapon viewmodel between left and right hands. | — | cmd | |
switchhandsleft |
Switches the weapon viewmodel to the left hand. | — | cmd | |
switchhandsright |
Switches the weapon viewmodel to the right hand. | — | cmd | |
viewmodel_ |
Sets the viewmodel field of view. | 60 | cvar | saved to config |
viewmodel_ |
Sets the viewmodel horizontal X offset. | 1 | cvar | saved to config |
viewmodel_ |
Sets the viewmodel Y offset. | 1 | cvar | saved to config |
viewmodel_ |
Sets the viewmodel vertical Z offset. | -1 | cvar | saved to config |
viewmodel_ |
Selects a predefined viewmodel position (1 = Desktop, 2 = Classic). | 1 | cvar | saved to config |
weapon_ |
Forces weapon spread to the specified value. | 0 | cvar | |
weapon_ |
Disables weapon inaccuracy/spread. | false | cvar | |
weapon_ |
Resets weapon accuracy state when the weapon is deployed. | false | cvar | sv_cheats |
weapon_ |
Enables fixed/pattern-based shotgun pellet spread. | true | cvar | |
weapon_ |
Applies ladder-style inaccuracy when a player is boosted by at least the specified number of stacked players. | 2 | cvar | |
weapon_ |
Multiplies airborne weapon inaccuracy; 0 makes jumping accuracy match standing accuracy. | 1 | cvar | |
weapon_ |
Sets the gap used by weapon spread debugging visualization. | 0.67 | cvar | sv_cheats |
weapon_ |
Displays weapon accuracy debugging (1 = Accuracy box, 3 = Accuracy with dynamic crosshair). | 0 | cvar | sv_cheats |
Nothing matches that. Try a shorter word, or reset the filters.