bool Drawtextin3D(char* str,DWORD lightcolor,float
x,float yfloat z,float xalign,float yalign)
Draw a 2D text in world space.
str: the text
lightcolor: color of text
x,y,z: the object coordinates
xaling,yalign: [0..1] percent of full left/up align.
Result:
Success