I bet it's only working for your current primary right? Try taking out the if statements and simply adding:
To your autoexec. The problem was, the if statements would only evaluate as true (1) if you are currently holding (curweapon) those weapons when you start AC. And since you can't hold all of your weapons at once at game launch, it just won't work. This however should (although I do not know if the different crosshair sizes for each will work or not, or if it will just change the size for all of them each time and finally end up at size 50 - not 100% sure though), HTH. :)
[SELECT ALL] Code:
//crosshairs
crosshairsize 50; loadcrosshair c_2.png 0 //knife
crosshairsize 25; loadcrosshair b_5.png 1 //pistol
crosshairsize 20; loadcrosshair d_2.png 2 //shotgun
crosshairsize 20; loadcrosshair d_3.png 3 //subgun
crosshairsize 20; loadcrosshair d_4.png 5 //assaultrifle
crosshairsize 50; loadcrosshair a_2.png 6 //grenades
To your autoexec. The problem was, the if statements would only evaluate as true (1) if you are currently holding (curweapon) those weapons when you start AC. And since you can't hold all of your weapons at once at game launch, it just won't work. This however should (although I do not know if the different crosshair sizes for each will work or not, or if it will just change the size for all of them each time and finally end up at size 50 - not 100% sure though), HTH. :)