Use nsprite2 it is as simple as the following:
ns_text is a command in the nsprite2 library.
What you are after is very easy to do.
cameraproject camera,entityx(creatureentity),entityy(creatureentity)+creatureheight,entityz(creatureentity) if projectedz() > 0 and projectedx()>=0 and projectedy()>=0 and projectedx()<=graphicswidth() and projectedy()<=graphicsheight() then ns_text projectedx(),projectedy(),creaturename$ endif
ns_text is a command in the nsprite2 library.
What you are after is very easy to do.