Upvote Upvoted 0 Downvote Downvoted
Need help with Crosshair Switvh Bindtoggle
1
#1
0 Frags +

I've been trying to make a Crosshair Switcher Bindtoggle script and act near the same as the Smoke Crosshair Switcher script but I have no idea where I went wrong. The problem is that when I press the key that changes the crosshair (for this example, it's F) it changes the crosshair yes but it doesn't change back to the original crosshair I was using before I pressed the bind. Here is the script I made for the crosshair bindtoggle script (BTW I play with 1024 x 768 stretched, that's why the crosshairs are small):

//Crosshair Toggle Dot/Crosshair
bind F Dot
alias "dot" "cl_crosshairalpha 255;cl_crosshaircolor 5;cl_crosshaircolor_b 0;cl_crosshaircolor_r 0;cl_crosshaircolor_g 255;cl_crosshairdot 0;cl_crosshairgap -7.5;cl_crosshairsize 1.5;cl_crosshairstyle 4;cl_crosshairusealpha 1;cl_crosshairthickness 1;cl_fixedcrosshairgap -7.5;cl_crosshair_outlinethickness 0.5;cl_crosshair_drawoutline 0; bind F crosshair"
alias "crosshair" "cl_crosshairalpha 255;cl_crosshaircolor 5;cl_crosshaircolor_b 0;cl_crosshaircolor_r 0;cl_crosshaircolor_g 255;cl_crosshairdot 0;cl_crosshairgap -2.2;cl_crosshairsize 2.5;cl_crosshairstyle 4;cl_crosshairusealpha 1;cl_crosshairthickness 1;cl_fixedcrosshairgap -2;cl_crosshair_outlinethickness 0;cl_crosshair_drawoutline 0; bind F dot"

I've been trying to make a Crosshair Switcher Bindtoggle script and act near the same as the Smoke Crosshair Switcher script but I have no idea where I went wrong. The problem is that when I press the key that changes the crosshair (for this example, it's F) it changes the crosshair yes but it doesn't change back to the original crosshair I was using before I pressed the bind. Here is the script I made for the crosshair bindtoggle script (BTW I play with 1024 x 768 stretched, that's why the crosshairs are small):

//Crosshair Toggle Dot/Crosshair
bind F Dot
alias "dot" "cl_crosshairalpha 255;cl_crosshaircolor 5;cl_crosshaircolor_b 0;cl_crosshaircolor_r 0;cl_crosshaircolor_g 255;cl_crosshairdot 0;cl_crosshairgap -7.5;cl_crosshairsize 1.5;cl_crosshairstyle 4;cl_crosshairusealpha 1;cl_crosshairthickness 1;cl_fixedcrosshairgap -7.5;cl_crosshair_outlinethickness 0.5;cl_crosshair_drawoutline 0; bind F crosshair"
alias "crosshair" "cl_crosshairalpha 255;cl_crosshaircolor 5;cl_crosshaircolor_b 0;cl_crosshaircolor_r 0;cl_crosshaircolor_g 255;cl_crosshairdot 0;cl_crosshairgap -2.2;cl_crosshairsize 2.5;cl_crosshairstyle 4;cl_crosshairusealpha 1;cl_crosshairthickness 1;cl_fixedcrosshairgap -2;cl_crosshair_outlinethickness 0;cl_crosshair_drawoutline 0; bind F dot"
2
#2
0 Frags +

why dont u just make 2 seperate button binds

why dont u just make 2 seperate button binds
3
#3
1 Frags +

crosshair 0/1 is a command already. Maybe it's conflicting with the name of your alias.

crosshair 0/1 is a command already. Maybe it's conflicting with the name of your alias.
Please sign in through STEAM to post a comment.