Ссылка на Сообщение
#1
12.4.2010, 18:29
Change awp,knife,back awp 2
Ok, I made my second script that change awp to knife and back awp again, if you want, also you can move to left or rigth , or you dont move while you are changing. this is a variant, in this script, the time that you use for run the command is lesst.
I test this script in my css in local and some server, i test many versions but this script work in all.
WARNING in some server the command sv_allon_wait .... is enabled, in these server this script do not work because the server dont allows the command wait.
WARNING2 if you conection is a little slow is posible that the script do not work in some moments, but this I rarely step
----------------------------------------------------------------------------------
kp_plus active change hands, if your hands are rigth.
kp_intro active and disable script, by default, when you disable , it put your hands to rigth
In some server the command wait do not found beacuse sv_allon_wait is disabled, in this case the script do not work
when you choose other weapon the script will be disabled, but when you back to awp, the script will be activate
IMPORTANT if you do not have awp and you have other weapon, you have to disable the script whit kp_enter
PLEAsE do not forgive vote me and vote my script
Ok, I made my second script that change awp to knife and back awp again, if you want, also you can move to left or rigth , or you dont move while you are changing. this is a variant, in this script, the time that you use for run the command is lesst.
I test this script in my css in local and some server, i test many versions but this script work in all.
WARNING in some server the command sv_allon_wait .... is enabled, in these server this script do not work because the server dont allows the command wait.
WARNING2 if you conection is a little slow is posible that the script do not work in some moments, but this I rarely step
----------------------------------------------------------------------------------
kp_plus active change hands, if your hands are rigth.
kp_intro active and disable script, by default, when you disable , it put your hands to rigth
In some server the command wait do not found beacuse sv_allon_wait is disabled, in this case the script do not work
when you choose other weapon the script will be disabled, but when you back to awp, the script will be activate
IMPORTANT if you do not have awp and you have other weapon, you have to disable the script whit kp_enter
PLEAsE do not forgive vote me and vote my script
CODE
Alias w "wait"
alias w5 "w; w; w; w; w"
alias w30 "w5; w5; w5; w5; w5; w5"
//change weapon and move to left or rigth or do not move when you atack
alias autoswitch "+attack; w5; slot3; w5; w5; -attack; slot1; w5; +attack; w5; -attack"
//change left hands and movement rigth or change rigth hands and movement left when the script is enabled and you are attacking
alias manoizq "cl_righthand 0; bind kp_plus manoder"
alias manoder "cl_righthand 1; bind kp_plus manoizq"
//if is disable you can attack else active change, by default, do not move
alias autoswitchoff "bind MOUSE1 +attack"
alias autoswitchon "bind MOUSE1 autoswitch"
alias slot1on "slot1; autoswitchon"
alias slot1off "slot1; autoswitchoff"
alias on "bind 1 slot1on; autoswitchon; bind kp_enter off; say --------------->awpon<----------------"
alias off "bind 1 slot1off; autoswitchoff; bind kp_enter on; cl_righthand 1 say --------------->awpoff<---------------"
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"
//by default
bind "kp_enter" "on"
bind "kp_plus" "manoder"
bind "MOUSE1" "+attack"
alias w5 "w; w; w; w; w"
alias w30 "w5; w5; w5; w5; w5; w5"
//change weapon and move to left or rigth or do not move when you atack
alias autoswitch "+attack; w5; slot3; w5; w5; -attack; slot1; w5; +attack; w5; -attack"
//change left hands and movement rigth or change rigth hands and movement left when the script is enabled and you are attacking
alias manoizq "cl_righthand 0; bind kp_plus manoder"
alias manoder "cl_righthand 1; bind kp_plus manoizq"
//if is disable you can attack else active change, by default, do not move
alias autoswitchoff "bind MOUSE1 +attack"
alias autoswitchon "bind MOUSE1 autoswitch"
alias slot1on "slot1; autoswitchon"
alias slot1off "slot1; autoswitchoff"
alias on "bind 1 slot1on; autoswitchon; bind kp_enter off; say --------------->awpon<----------------"
alias off "bind 1 slot1off; autoswitchoff; bind kp_enter on; cl_righthand 1 say --------------->awpoff<---------------"
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"
//by default
bind "kp_enter" "on"
bind "kp_plus" "manoder"
bind "MOUSE1" "+attack"