Ok I'll help youu OK? ok
Ok in D3D8 there's no built in easy text class like D3D9 has, as you probably know.
So you need to make a font class and then render it to screen. Now referring to my OFP hook..
First make a declaration for your font as well as an HFONT
ID3DXFont *MaiFont;
HFONT fnt;
Here's my draw text:
void _DrawText( char pString[], int x, int y, D3DCOLOR col)
{
RECT FontRect = { x, y, x+120, y+50 };
MyFont->DrawTextA(pString, -1, &FontRect, DT_LEFT, col);
}
Then, initialize your font:
fnt = CreateFont(15, 8, 2, 0, 500, 0, 0, 0, ANSI_CHARSET, OUT_DEFAULT_PRECIS,
CLIP_DEFAULT_PRECIS, DEFAULT_QUALITY, FF_YOURFONT, 0);
And.. I'll leave the rest up to you..
Hint: draw the text where it renders on only 1 frame (or it'll end up fps lagging quite a bit). I've changed some small things so that its not c+p.
Tell me if you need more help, but this should be enough.