Thanks to visit codestin.com
Credit goes to github.com

Skip to content

aimslut/sm_vm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

sm_vm

usage

commands

  • sm_vm [0|1] - set viewmodel visibility
  • sm_vm - toggle viewmodel visibility
  • sm_hidegun - hide viewmodel
  • sm_showgun - show viewmodel
  • sm_togglevm - alias for sm_vm
  • sm_viewmodel - alias for sm_vm

examples

basic usage

sm_vm           # Toggle viewmodel
sm_vm 0         # Hide viewmodel
sm_vm 1         # Show viewmodel
sm_hidegun      # Quick hide
sm_showgun      # Quick show

keybinds

bind "1" "slot1; sm_vm 0"  # Hide viewmodel for weapon slot 1
bind "4" "slot4; sm_vm 1"  # Show viewmodel for weapon slot 4

requirements

  • sourcemod 1.12.0 or higher
  • game with sourcemod support (css, tf2, etc.)

installation

  1. download the latest release from the releases
  2. place the .smx file in sourcemod/plugins/
  3. restart the server or use sm plugins load sm_vm

About

toggles viewmodel visibility with optional args

Resources

Stars

Watchers

Forks

Packages

No packages published