can someone help me make a simple commend (when press b physgun_wheelspeed 100 and when ill press b or any key again it will make it physgun_wheelspeed 10) thx for everyone

can someone help me make a simple commend (when press b physgun_wheelspeed 100 and when ill press b or any key again it will make it physgun_wheelspeed 10) thx for everyone

bind “b” “toggle physgun_wheelspeed 100 10”

bind b “physgun_wheelspeed 100”
bind n “physgun_wheelspeed 10”

Click B to set to 100, click N to set to 10.

I’m surprised and baffled this is an actual command. I didn’t even think such a command existed.

A 3rd choice is along the lines of
“Alias +blah physgun_wheelspeed 10; alias -blah physgun_wheelspeed 100; bind b +blah”
Hold down b to lower to wheel speed

You posted this on the GMod subreddit yesterday, what was wrong with the at least 2 ways you were given?