• Camera fixed on Front View? | Help
    6 replies, posted
[CODE]local function PlayerSpawn( ply ) ply:Freeze( false ) CalculateFrontView( ply, ply:GetPos(), 90, 100 ) end hook.Add( "PlayerSpawn", "PlayerSpawn", PlayerSpawn ) function CalculateFrontView( ply, pos, angles, fov ) local view = {} view.origin = pos-( angles:Forward()*100 ) view.angles = angles view.fov = fov view.drawviewer = true return view end hook.Add( "CalcView", "MyCalcView", CalculateFrontView )[/CODE] All I want to do, when the player spawns: Set Camera to looking at there face and freeze them untill a certain timer. (I can do that) its just the part with the view calculation. Currently its THIRDPERSON view. And then, it dosent work. Aswell, I have no idea how to put the CALCFRONTVIEW into first person?
is there a way
Is there a way to not spam threads and keep bumping them? Use the fucking "Problems that dont need their own theead" thread instead.
Well just play around with the angle until you're satisfied, why'd you let someone else do that
[QUOTE=Skere_;51130924]Well just play around with the angle until you're satisfied, why'd you let someone else do that[/QUOTE] I've tried. The thing is, how do I rotate the angle ??! I tried everything..
Like what
[QUOTE=jacobcooper18;51135268]I've tried. The thing is, how do I rotate the angle ??! I tried everything..[/QUOTE] I don't think you're even trying to learn or make an effort to do anything yourself. Stop making these threads please and instead, post in the "Problems That Don't Need Their Own Thread" thread. You'll never learn from trying to get people to spoon feed you. I also like how you claim you can fix "code problems" and say you have "3 years of lua experience" [url]https://puu.sh/rtP4t/0a4729eff1.png[/url] Sure doesn't seem like it lol.
Sorry, you need to Log In to post a reply to this thread.