@name 3rd person simulator - By Cenn
@inputs Cam:wirelink T
@model models/hunter/plates/plate.mdl
interval(1)
if(first()){T = 0
    holoCreate(1)
    holoModel(1,"hqicosphere")
holoColor(1,vec(255,20,20))
}
if(T == 1){Cam["Activated",number] = 1
   holoPos(1,owner():aimPos())
}elseif(T==0){
   holoPos(1,entity():pos()) 
    Cam["Activated",number] = 0                                                                                                                                  setName("3rd Person Simulator - By Croco")
}
E = owner()   
if(owner():keyReload()){
  Cam["Position",vector] = E:pos()+vec(100,0,100):rotate(E:angles())  
Cam["Angle",angle] = E:angles() + ang(vec(0,180,0)) 
}else{
Cam["Position",vector] = E:pos()+vec(-100,0,100):rotate(E:angles())
Cam["Angle",angle] = E:angles()}

  



