Moving the viewmodel, like with ironsights

I used to always reference the CS:S weapons for this bit of information, but they don’t seem to exist any more. Could some one please remind me of the code those weapons used to line up the ironsights with the crosshair? Please, and thank you!

[editline]25th May 2013[/editline]

I believe I would have found it on the official Garry’s Mod Wiki, but it does not seem to have the same pages anymore. Instead, I found this. I’m just not certain if that is the correct method.

That is the correct method.

Okay, thank you! Next is just getting the code to do it.