Create HUD on an entity

Hello i’m trying to create an HUD on an entity like this :
https://scriptfodder.com/scripts/view/744/enhanced-meth-lab

But i don’t really know how to do,what will be the function i will use ?

ENT:Draw()

Cam3D2D.Start()

It’s actually cam.Start3D2D()

But your point got across lol

:lick:

theres a lot more that needs to be done than just adding cam.Start3D2D() into the draw function of the entity. for example drawing the menu in the draw hook of the entity will allow you to see the 3D2D elements through the entity. PostDrawOpaqueRenderables would be the correct hook to use for this, as it wont be rendered through the entity

Uh… i never had this problem when using ENT:Draw

But yeah if you use a render hook, you’re goin’ to have problems.