How to drawtext
Hey guy's in all of the stuff they got in the coding section i could not see any tut's on how to drawtext so here it is
And to render it
Cred's
solify
me
Code:
void DrawText(int x,int y,DWORD color,char *text, LPDIRECT3DDEVICE9 pDevice){
RECT rect;
SetRect( &rect, x, y, x, y );
Directx_Font->DrawTextA(NULL,text,-1,&rect, DT_LEFT|DT_NOCLIP, color);
}
Code:
DrawText(x,y,color,"texthere", pDevice);
solify
me




