Upvote Upvoted 1 Downvote Downvoted
Toggle doesn't work idk why
posted in Q/A Help
1
#1
0 Frags +

I hate doing this kind of topics. Anyway...

This toggle isn't working and i can't spot what's wrong. It should basically turn the "Lazy Jump" on and off so I can actually jump properly without the jump+crouch:

//lazy jump
alias +lazy "+jump; +duck"
alias -lazy "-jump; -duck"
bind "space" "+lazy"
bind "ctrl" "+duck"
bindtoggle "0" "+lazy"
I hate doing this kind of topics. Anyway...

This toggle isn't working and i can't spot what's wrong. It should basically turn the "Lazy Jump" on and off so I can actually jump properly without the jump+crouch:

[code]//lazy jump
alias +lazy "+jump; +duck"
alias -lazy "-jump; -duck"
bind "space" "+lazy"
bind "ctrl" "+duck"
bindtoggle "0" "+lazy"
[/code]
2
#2
4 Frags +

I believe bindtoggle only works for values.

For example, bindtoggle O "sv_cheats 0 1"
bindtoggle O "cl_interp 0.0125 0.0333"

I believe bindtoggle only works for values.

For example, bindtoggle O "sv_cheats 0 1"
bindtoggle O "cl_interp 0.0125 0.0333"
3
#3
2 Frags +

I think this will work

//lazy jump
alias +lazy "+jump; +duck"
alias -lazy "-jump; -duck"
bind "space" "+spacebind"
alias +spacebind +lazy
alias -spacebind -lazy
alias jumplazy "alias +spacebind +lazy;alias -spacebind -lazy;alias togglejump lazyjump"
alias lazyjump "alias +spacebind +jump;alias -spacebind -jump;alias togglejump jumplazy"
alias togglejump "lazyjump"
bind "ctrl" "+duck"
bind 0 "togglejump"
I think this will work
[code]
//lazy jump
alias +lazy "+jump; +duck"
alias -lazy "-jump; -duck"
bind "space" "+spacebind"
alias +spacebind +lazy
alias -spacebind -lazy
alias jumplazy "alias +spacebind +lazy;alias -spacebind -lazy;alias togglejump lazyjump"
alias lazyjump "alias +spacebind +jump;alias -spacebind -jump;alias togglejump jumplazy"
alias togglejump "lazyjump"
bind "ctrl" "+duck"
bind 0 "togglejump"
[/code]
4
#4
1 Frags +

Thanks #3 it worked :)

Thanks #3 it worked :)
Please sign in through STEAM to post a comment.