so i created a script that changes my sensitivity and makes my gun disappear when i hold down mouse one, and then switch back when mouse one is released. now i am trying to bind that same script to different weapon banks (or keys on the keyboard).
here is my attempt that seems to not work:
bind 2 “weaponbank 2; set vstr shootoffpistol;”
set shootonpistol “+sprint;+attack;set vstr shootoffpistol;cg_drawgun 0; sensitivity 3.27;”
set shootoffpistol “-sprint;-attack;set vstr shootonpistol;cg_drawgun 1;sensitivity 5.5;”
bind MOUSE1 “+vstr shootonpistol shootoffpistol”
bind 3 “weaponbank 3; set vstr shootoffmain;”
set shootonmain “+sprint;+attack;set vstr shootoffmain;cg_drawgun 0; sensitivity 2.5;”
set shootoffmain “-sprint;-attack;set vstr shootonmain;cg_drawgun 1;sensitivity 8;”
bind MOUSE1 “+vstr shootonmain shootoffmain”
bind 4 “weaponbank 4; sensitivity 8;”
it was suppose to change the entire script so that when i press 2 for my pistols, the script changed, then when i pressed 3 for my main weapon, the script changed, and when i pressed 4 for my grenades, the script just went away and it was only one sensitivity.
can someone help me or tell me what to do? any help would be greatly appreciated.
thank you in advance.