r/Tf2Scripts • • Jul 21 '12

Archived [HELP]Viewmodel Toggle

How would I go about binding a key to toggle viewmodels? Right now i have R bound to hide viewmodels (r_drawviewmodels 0) and T bound to show viewmodels (r_drawviewmodels 1) but I'd like to know how to get R to toggle between on and off.

6 Upvotes

2 comments sorted by

View all comments

5

u/FunkySOUP Jul 22 '12

bind r "toggle r_drawviewmodels 1 0"

1

u/r_dageek Jul 22 '12

Thanks. That did it.