Ссылка на Сообщение
#1
28.1.2010, 21:38
SUPER AWP-SWITCH
CODE
// Using this script you can use your other weapons while having the awp script enabled without it doing the awp switch. You will also get a red crosshair and your weapon alligment will be switched so you can tell when it is on. There is a one button toggle (MOUSE4 is default).
alias w "wait"
alias w5 "w; w; w; w; w"
alias autoswitch "+attack; w5; -attack; w5; slot3; w5; slot1"
alias autoswitchoff "bind MOUSE1 +attack"
alias autoswitchon "bind MOUSE1 autoswitch"
bind 1 "slot1; autoswitchon"
bind 2 "slot2; autoswitchoff"
bind 3 "slot3; autoswitchoff"
bind 4 "slot4; autoswitchoff"
bind 5 "slot5; autoswitchoff"
bind MWHEELUP "invprev; autoswitchoff"
bind MWHEELDOWN "invnext; autoswitchoff"
alias slot1on "slot1; autoswitchon"
alias slot1off "slot1; autoswitchoff"
alias off "bind 1 slot1off; autoswitchoff; bind MOUSE4 on; cl_righthand 1; cl_crosshaircolor 0"
alias on "bind 1 slot1on; autoswitchon; bind MOUSE4 off; cl_righthand 0; cl_crosshaircolor 1"
bind MOUSE4 "on"
alias w "wait"
alias w5 "w; w; w; w; w"
alias autoswitch "+attack; w5; -attack; w5; slot3; w5; slot1"
alias autoswitchoff "bind MOUSE1 +attack"
alias autoswitchon "bind MOUSE1 autoswitch"
bind 1 "slot1; autoswitchon"
bind 2 "slot2; autoswitchoff"
bind 3 "slot3; autoswitchoff"
bind 4 "slot4; autoswitchoff"
bind 5 "slot5; autoswitchoff"
bind MWHEELUP "invprev; autoswitchoff"
bind MWHEELDOWN "invnext; autoswitchoff"
alias slot1on "slot1; autoswitchon"
alias slot1off "slot1; autoswitchoff"
alias off "bind 1 slot1off; autoswitchoff; bind MOUSE4 on; cl_righthand 1; cl_crosshaircolor 0"
alias on "bind 1 slot1on; autoswitchon; bind MOUSE4 off; cl_righthand 0; cl_crosshaircolor 1"
bind MOUSE4 "on"