Weapon Sway

Does anyone know how to weapon sway when idle? Like in FA:S weapons. I would like to learn how to translate and rotate velements etc.

Check out this hook:

You may also want to check out the other weapon hooks too.

Thanks for that. Now how do I like translate and rotate?

It says on the page, you return your desired position and angles.
Within your swep…
function SWEP:GetViewModelPosition( pos, ang )
return Vector( 0, 0, 0 ), Angle( 0, 0, 0 )