• 3D Hud
    2 replies, posted
im trying to make a 3d hud and this is what i got to, [CODE]hook.Add( "HUDPaint", "3d_camera_example", function() cam.Start3D2D( Vector(0, 0, 0), Angle(0, 0, 0), 1 ) draw.DrawText("Test", "ChatFont", 0, 0, Color(255, 255, 255, 255), TEXT_ALIGN_CENTER ) cam.End3D2D() end)[/CODE] it doesnt work though?! can anyone tell me why? -- edit i fixed the the other code i posted
[QUOTE]cam.Start3D2D( Vector(0, 0, 0), Angle(0, 0, 0), 1 )[/QUOTE] It's creating the whole thing at the coordinates 0, 0, 0. You can't just expect it to magically get the coordinates of your player and move it forward a bit.
ahh i see, should of read my code properly
Sorry, you need to Log In to post a reply to this thread.