How to create a Max Payne/Half Life style gun system?

Id really like to know too, hopefully we can get an answer, Ill try to remember to post here if I find anything