r_drawviewmodel
r_drawviewmodel
is a console command available in all Source games. It can be used to set whether viewmodel is visible or not. Player will still be able to use their weapons, if viewmodel is hidden by this command.
Usage
Run r_drawviewmodel 0
to hide the viewmodel. Non-zero values show the viewmodel.