TTT - How to make zoomed-in weapons spread different


I am making a sniper rifle for TTT - however - I am trying to make it so that when not zoomed in, the cone is 0.9, and when you are it is 0.003.

I tried using SWEP.Secondary.Cone = X.XX but this does not work.

Any help?