Changing view position

Hey, I’m working on a SWEP, that when deployed, changes the view of the user to a third person, “chase cam” view. In other words, moved back on y axis and up on the z axis.

How would I go about doing that?

Please, this would be a huge help, and I can’t find help anywhere else.

Try typing firstperson in console?

I’m trying to get a third person view on weapon deployment. Not through the console, but in lua. Also, firstperson and thirdperson are cheat commands. Thanks anyways though.