viewmodel_offset_x
Moves the weapon left or right. Moves your weapon model horizontally, from -2.5 to 2.5. Higher values push the gun to the right edge of the screen.
viewmodel_offset_x 2.5
Syntax
viewmodel_offset_x <-2.5 to 2.5> · Default value: 1
Examples
viewmodel_offset_x 2.5
How to use viewmodel_offset_x in CS2
- Enable the developer console in Settings › Game › Enable Developer Console.
- Press ~ to open the console, type the command and press Enter.
- To apply it every time you launch CS2, add the line to an
autoexec.cfgfile in your cfg folder.
Related commands
viewmodel_offset_x FAQ
What does viewmodel_offset_x do in CS2?
Moves the weapon left or right. Moves your weapon model horizontally, from -2.5 to 2.5. Higher values push the gun to the right edge of the screen.
What is the default value of viewmodel_offset_x?
The default value of viewmodel_offset_x in CS2 is 1.
Does viewmodel_offset_x need sv_cheats?
No. viewmodel_offset_x works without sv_cheats, including in official matchmaking.