Drawing text above an entity.

In gamemodes like gmodz text is drawn above the item, I was curious on how to do this.
Maurits.Tv seemed to have the gmod12 code for it but the code for it changed

cam.Start3D2D()
cam.End3D2D()

Or you know… be helpful.

I think you use http://wiki.garrysmod.com/page/draw/DrawText with it.

The Maurtis wiki has an example

[editline]7th October 2013[/editline]

Please note you need to use the updated surface.createfont

Or, he could have looked for these. Those functions are specific enough to find on either wiki.

pretty much this, you gotta be resourceful to be a good scripter.

I found the maurits one myself, But alot of the code is out of date, I just needed to be sure its Gmod 13 code, I will start a thread on my gamemode soon enough.