#Multi Key Binding?
1 messages · Page 1 of 1 (latest)
I don't think there's any easy way by default?
It is absolutely possible with a bit of code! See the BindMenu gmodstore addon.
I guess you could kinda make a hacky multi key bind by leveraging the alias command.
Haven't tested this but it might work?
alias +realjump "+jump"
alias -realjump "-jump"
alias +modjump "+jump; say Jumping but with extra shift!"
alias -modjump "-jump"
alias mod_exec +realjump
alias mod_exec_release -realjump
alias +mod "alias mod_exec +modjump; alias mod_exec_release -modjump"
alias -mod "alias mod_exec +realjump; alias mod_exec_release -realjump"
bind SHIFT +mod
bind SPACE "+modexec"
alias +modexec "mod_exec"
alias -modexec "mod_exec_release"
what do you mean
I think they mean
bind CTRL + E "say /advert Carjack"
bind CTRL + F "ulx return @"
That sort of thing
https://developer.valvesoftware.com/wiki/Alias
alias -alt_pressed unbind f4
bind alt +alt_pressed // note that pressing Alt executes +alt_pressed and releasing Alt executes -alt_pressed```
so then this example would work i think