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
Did you see about the actively turn off thing as well?
Btw how do I learn to code like this, can you help me learn? or is there a guide/course I can watch?
Edit: Thanks btw for doing, both off and on works Thanks!! Can I give you a shout out in my next video, I've been trying to make it for so long