sm_vm, sm_viewmodel, sm_togglevm: [0|1]- toggles when no arg passed
- sets when arg passed
sm_vm # Toggle viewmodel
sm_vm 0 # Hide viewmodel
sm_vm 1 # Show viewmodel
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