Printer-like UI / Meth-like UI , how do you do it?

Hello!

I’m used to the typical DarkRP elements like printers and meth.
They have an interesting UI which is drawn in the prop itself.
For instance, at the top of a printer, there is some information regarding cooling, money etc.
In meth pots you can see the progress of the cooking, and things like that.

I just want to know how is it done? I can’t seem to find any information on how to draw UIs in props / models.
Is there a tutorial I could follow or a specific library?

Thank you!

They draw text/icons onto the entities in 3D

cam.Start3D2D, with that you can get the props pos, and use the draw/surface library.

All you need to know is in the following links:

https://assets-cdn.github.com/favicon.ico

https://github.com/FPtje/DarkRP/blob/master/entities/entities/money_printer/cl_init.lua

ENTITY/Draw

cam.Start3D2D

Thanks for the help guys! I’ll take a look at the methods. I’m really interested in that.