viewmodel_offset_y [Y Offset]
This command sets the Y offset of your view model - i.e. how close or far from your character 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 are parameters that you add to a command. Find information about this command's arguments below.
|Y Offset||Set this to a number between 2 and -2. 2 would be closest to the top of the screen. -2 would be closest to the bottom of the screen.|
|Client or Server Command?||Client|
Find below working examples of this command (copy and paste into console).
This command would put your viewmodel as far in front of you as possible.
This command would put your viewmodel as close as possible to you.