viewmodel_offset_z Command

This command sets the Z offset of your viewmodel, determining how high or low it appears. The viewmodel is your hand (and the weapon) shown in first-person. Maximum is 2 and minimum is -2.

Category
View Model
Game
CS2 + CSGO
Scope
Local
Cheats
Not Required

Command Arguments

These are the parameters viewmodel_offset_z uses. Required arguments must be provided for the command to work.

<Z Offset>

NumberRequired

Use a number between -2 and 2. 2 places the viewmodel as far in front of you as possible. -2 places it as close to you as possible.

Default: -1

Command Builder

Interactive command builder that generates a valid viewmodel_offset_z command for in-game use.

All required arguments filled!

Generated Command

viewmodel_offset_z -1

Command Information

Learn more about how to use viewmodel_offset_z 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.