sm_vm [0|1]- set viewmodel visibilitysm_vm- toggle viewmodel visibilitysm_hidegun- hide viewmodelsm_showgun- show viewmodelsm_togglevm- alias for sm_vmsm_viewmodel- alias for sm_vm
sm_vm # Toggle viewmodel
sm_vm 0 # Hide viewmodel
sm_vm 1 # Show viewmodel
sm_hidegun # Quick hide
sm_showgun # Quick show
bind "1" "slot1; sm_vm 0" # Hide viewmodel for weapon slot 1
bind "4" "slot4; sm_vm 1" # Show viewmodel for weapon slot 4
- sourcemod 1.12.0 or higher
- game with sourcemod support (css, tf2, etc.)
- download the latest release from the releases
- place the
.smxfile insourcemod/plugins/ - restart the server or use
sm plugins load sm_vm