Description:

This script cycles through 3 different modes of hidden weapons:
MODE1 - all weapons showing
MODE2 - primary hidden - pistol and knife showing
MODE3 - primary and secondary hidden - knife showing
Extras: holding your reload button will cause the gun to show, letting go will hide it. Due to a bug (with half-life - not the script) the "-reload" is sometimes not registered so you might want to bind some button to "-reload" (example: bind tab "+showscores; -reload")

-----
alias gorelood "bind r +relood"
alias goreload "bind r +reload"
alias +relood "r_drawviewmodel 1; +reload"
alias -relood "r_drawviewmodel 0; -reload; -reload; -reload"
alias q0 "r_drawviewmodel 0; slot1; gorelood"
alias q1 "r_drawviewmodel 1; slot1; goreload"
alias e0 "r_drawviewmodel 0; slot2; gorelood"
alias e1 "r_drawviewmodel 1; slot2; goreload"
alias k1 "r_drawviewmodel 1; slot3"
alias goq0 "bind 1 q1"
alias goq1 "bind 1 q0"
alias goe0 "bind 2 e1"
alias goe1 "bind 2 e0"
alias slunk0 "goh0"
alias slunk1 "goh1"
alias slunk2 "goh2"
alias goh0 "goq0; goe0 echo2; bind h slunk1"
alias goh1 "goq1; echo0; bind h slunk2"
alias goh2 "goq1; goe1; echo1; bind h slunk0"
alias echo0 "echo ||| PRIMARY HIDDEN |||"
alias echo1 "echo ||| WEAPONS HIDDEN |||"
alias echo2 "echo ||| WEAPONS SHOWING |||"

bind 3 "slot3; r_drawviewmodel 1"

-----

Autor skryptu: vcon