W
Wh1sp3r
Guest
Hello !
Here it goes : I created a texture for a sniper rifle scope. I also implemented zooming on the secondary attack of my weapon_sniper class.
Now I want to know where do I add my code to toggle the scope texture when the zoom is activated !? I know some code wich uses the view.h methods to add an overlay and show the scope texture, but I can't access the class from the weapon file on the server side code...
Hope this makes sense ! Thanks for helping !
Here it goes : I created a texture for a sniper rifle scope. I also implemented zooming on the secondary attack of my weapon_sniper class.
Now I want to know where do I add my code to toggle the scope texture when the zoom is activated !? I know some code wich uses the view.h methods to add an overlay and show the scope texture, but I can't access the class from the weapon file on the server side code...
Hope this makes sense ! Thanks for helping !