Ссылка на Сообщение
#1
28.3.2010, 10:08
The Admin's Bhop Script
My first script.
Pretty much every bhop script I've seen just binds the mouse wheel to +jump, and unbinds it from inv and invprev, which means you can't switch weapons with the mouse wheel.
This script makes it to where the mouse wheel is only binded to +jump while shift is held down. When it is released the mouse wheel works as usual. You can change shift to any key you desire.
My first script.
Pretty much every bhop script I've seen just binds the mouse wheel to +jump, and unbinds it from inv and invprev, which means you can't switch weapons with the mouse wheel.
This script makes it to where the mouse wheel is only binded to +jump while shift is held down. When it is released the mouse wheel works as usual. You can change shift to any key you desire.
CODE
alias mwjump "bind MWHEELDOWN +jump; wait; -jump; bind MWHEELUP +jump; wait; -jump"
alias mwjump2 "mwjump; mwjump; mwjump; mwjump: mwjump; mwjump"
alias mwland "bind MWHEELDOWN invnext; bind MWHEELUP invprev"
alias +function "mwjump2"
alias -function "mwland"
bind "shift" "+function"
alias mwjump2 "mwjump; mwjump; mwjump; mwjump: mwjump; mwjump"
alias mwland "bind MWHEELDOWN invnext; bind MWHEELUP invprev"
alias +function "mwjump2"
alias -function "mwland"
bind "shift" "+function"