Drawgun toggle

I want to bind my mouse4 button for a toggle on cg_drawgun
Can anyone give this cmd?
Thanks in advance

Hayzee out.
Comments
12
bind mouse4 "toggle cg_drawgun"
./bind mouse 4 vtsr;cg_drawgun 1 ; cg_drawgun 0


Or something like it
Why do you want that?
Couse I do, gief it
Parent
Flushje supplied.

bind 1 ""
bind 2 ""
bind 3 "weaponbank 1;cg_drawgun 0"
bind 4 "weaponbank 2;cg_drawgun 0"
bind 5 "weaponbank 3;cg_drawgun 0"
bind 6 "weaponbank 4;cg_drawgun 0"
bind 7 "weaponbank 5;cg_drawgun 0"
bind 8 "weaponbank 6;cg_drawgun 0"

Try this, but you'll have to replace some values of weapon the weaponbank if you use WASD
Parent
the cmd flushje said?
Parent
My post is what you need =)
Parent
bind mouse4 "toggle cg_drawgun"
This is what you need (just put this in your config somewhere)

bind mouse4 "vstr gunswitch"

set gunswitch "vstr gun_on"
set gun_on "cg_drawgun 1;echo Drawgun ON; set gunswitch vstr gun_off"
set gun_off "cg_drawgun 0;echo Drawgun OFF; set gunswitch vstr gun_on"

edit: you didn't need that first line :P
or just simply "bind mouse4 toggle cg_drawgun"
Parent
serious?

He obviously wants to be mega creative instead!! :D
Parent
Back to top