Client Camer Replacement

I am trying to learn how to replace the client view camer like done in melon bomber and 3rd person addons. Could you tell me the how to do this. Maybe a wiki link.