How to use material overlays?

How would I go about adding an overlay to the player’s screen when they use a sent/swep (ie. the scope effect of a sniper rifle)?

Your best bet is to draw the scope in SWEP:DrawHUDBackground() hook. Use a DataTable var or NWBool to save if it is enabled or not and draw the texture there.