r/Tf2Scripts • u/mrstork89 • Oct 24 '19
Satisfied How to Toggle Draw Viewmodel Script with a button?
bind "r" "r_drawviewmodel 1;slot3"
bind mwheelup "slot1;r_drawviewmodel 0"
bind mwheeldown "slot2;r_drawviewmodel 0"Now I want this r_drawviewmodel to remain "1" when I press Capslock and go back to being controlled by the keyboard buttons when I press again(capslock light turns off) or as it is above, basically revert back as above.
7
Upvotes
View all comments
Show parent comment
1
u/mrstork89 Oct 24 '19 edited Oct 24 '19
Yep, it works, I need a little adjustment tho, can you make it so that capslock actively turns the viewmodel on when it's turned on.
Cuz as of now, after pressing capslock it stays invisible until I change weapons, then it becomes and stays visible. But it works! Thanks
Edit: It also doesn't actively turn off the viewmodel invisible after pressing the caps lock