viewmodel_offset_x Command


viewmodel_offset_x [X Offset]

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

Arguments


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

X OffsetSet this to a number between 2.5 and -2.5. -2.5 would be closest to the middle of the screen. 2.5 would be closest to the edge of the screen.

Extra Info

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

viewmodel_offset_x Examples


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


viewmodel_offset_x -2.5

This command would put your viewmodel closest to the middle of the screen.


viewmodel_offset_x 2.5

This command would put your viewmodel cloest to the edge of the screen.