viewmodel_offset_z Command


viewmodel_offset_z [Z Offset]

This command sets the Z offset of your view model - i.e. how far up or down it is. Your view model is your hand (and the gun in it) that displays in first person mode. The maximum value is 2 and the minimum value is -2.

Arguments


Arguments are parameters that you add to a command. Find information about this command's arguments below.

Z OffsetSet this to a number between 2 and -2. 2 would put your viewmodel as far in front of you as possible. -2 put your viewmodel as close as possible to you.

Extra Info

Sv_cheats Required? No
Client or Server Command? Client
Default Value -1

viewmodel_offset_z Examples


Find below working examples of this command (copy and paste into console).


viewmodel_offset_z 2

This command would put your viewmodel as close to the top of the screen as possible.


viewmodel_offset_z -2

This command would put your viewmodel as close to the bottom of the screen as possible.