3D Hud

im trying to make a 3d hud and this is what i got to,

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 )

it doesnt work though?! can anyone tell me why?

– edit i fixed the the other code i posted

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