Some one help me... why font menu present in lobby and lost in play game.. i make this in Endscene and DIP..
cvxc.JPG
is
VOID WriteText(char pString[], INT x, INT y, DWORD color )
{
RECT rect;
SetRect( &rect, x, y, x, y );
Font->DrawTextA( NULL, pString, -1, &rect, DT_NOCLIP | DT_LEFT, color );
}
A no W ok
Originally Posted by [mi5
is
VOID WriteText(char pString[], INT x, INT y, DWORD color )
{
RECT rect;
SetRect( &rect, x, y, x, y );
Font->DrawTextA( NULL, pString, -1, &rect, DT_NOCLIP | DT_LEFT, color );
}
Some one help me... why font menu present in lobby and lost in play game.. i make this in Endscene and DIP..
After joining to a game the font will crash so you need to recreate it
on short make a function that is checking if the font is valid or crashed if crashed release it and create it again
ya thnks all... DrawBox bloking font, i try dellet DrawBox and work now.. but font only and no problem...