Create rendertarget

How do I create a new rendertarget when spawning an entity?

init.lua
[lua]
function ENT:Initialize()
– Spawn rendertarget here.
end
[/lua]

And how I use it then as a TV (=camera, screen)?

http://www.facepunch.com/threads/763009-Render-a-view-in-3D2D

This should help you.