Spawning an RT Camera in LUA?

Hey!
How would I go about spawning an RT camera for a player through LUA? I wanna do it in a swep.
Thanks!