viewmodel_offset_x<X Offset>

This command sets the X offset of your viewmodel, indicating how far left or right it appears. The viewmodel is your hand (and the weapon) shown in first-person. Maximum is 2.5 and minimum is -2.5.

CategoryView Model
GameCS2 + CSGO
ScopeLocal
CheatsNot Required

Arguments

These are the parameters viewmodel_offset_x uses when it is ran. Required arguments must be provided.

<X Offset>

NumberRequired

Use a number between -2.5 and 2.5. -2.5 places the viewmodel nearest the center of the screen. 2.5 places it nearest the screen edge.

Default: 1

Command Builder

This interactive command builder generates a valid viewmodel_offset_x command for in-game use. Fill all required fields.

All required arguments filled!

Output Command

viewmodel_offset_x 1

Command Information

Learn more about how to use the viewmodel_offset_x effectively.

Argument Data Types

Arguments can be of type String, Number, Bool, or Enum. Provide the correct type for the command to execute correctly.

Required Arguments

Arguments marked as Required must be provided for the command to work. Optional arguments can be left blank.

Command Scope

Commands can be Client-sided or Server-sided. Client-sided commands affect only your game client, while server-sided commands affect the entire server.

Cheats Required

Some commands require sv_cheats to be enabled. If a command has this requirement, it will not run on servers where cheats are disabled.