HELP CHANGING BLACK TEXT TO WHITE

07/22/2013 04:21 yvansinues#1
error C2065: 'ADEILSON' : undeclared identifier
error C2065: 'V19' : undeclared identifier
error C2146: syntax error : missing ';' before identifier 'dwColor'
error C2146: syntax error : missing ';' before identifier 'V19'
error C2181: illegal else without matching if



SORRY STILL NEWBIE:confused::confused::confused::handsdown::ha ndsdown::handsdown:



SORRY FOR MY ENGLISH >.<
07/22/2013 07:25 ThoughtfulDev#2
show us the code ...
07/22/2013 15:57 yvansinues#3
if( g_pPlayer->m_nStr < g_pPlayer->GetStr() )
/************************************************** *********************************
ADEILSON V19
/************************************************** *********************************/
// dwColor = D3DCOLOR_ARGB( 255, 0, 0, 255 );antes
dwColor = D3DCOLOR_ARGB( 255, 255, 255, 255 );//agora
/************************************************** *********************************/
else
dwColor = D3DCOLOR_ARGB( 255, 255, 0, 0 );

p2DRender->TextOut( 65, y, g_pPlayer->GetStr(), dwColor ); y += nNext;

if( g_pPlayer->m_nSta == g_pPlayer->GetSta() )
/************************************************** *********************************
ADEILSON V19
/************************************************** *********************************/
// dwColor = D3DCOLOR_ARGB( 255, 0, 0, 0 )/*adeilson*/;antes
dwColor = D3DCOLOR_ARGB( 255, 255, 255, 255 );//agora
/************************************************** *********************************/






Like this one .. i used this to change the text to white
07/22/2013 16:04 Reavern#4
Try this:

Code:
if( g_pPlayer->m_nStr < g_pPlayer->GetStr() )
{
            //dwColor = D3DCOLOR_ARGB( 255, 0, 0, 255 );//antes
	    dwColor = D3DCOLOR_ARGB( 255, 255, 255, 255 );//agora
}
else
{
            dwColor = D3DCOLOR_ARGB( 255, 255, 0, 0 );
            p2DRender->TextOut( 65, y, g_pPlayer->GetStr(), dwColor ); y += nNext;
}

if( g_pPlayer->m_nSta == g_pPlayer->GetSta() )
{
            //dwColor = D3DCOLOR_ARGB( 255, 0, 0, 0 );//antes
            dwColor = D3DCOLOR_ARGB( 255, 255, 255, 255 );//agora
}
07/24/2013 16:01 yvansinues#5
Quote:
Originally Posted by Reavern View Post
Try this:

Code:
if( g_pPlayer->m_nStr < g_pPlayer->GetStr() )
{
            //dwColor = D3DCOLOR_ARGB( 255, 0, 0, 255 );//antes
	    dwColor = D3DCOLOR_ARGB( 255, 255, 255, 255 );//agora
}
else
{
            dwColor = D3DCOLOR_ARGB( 255, 255, 0, 0 );
            p2DRender->TextOut( 65, y, g_pPlayer->GetStr(), dwColor ); y += nNext;
}

if( g_pPlayer->m_nSta == g_pPlayer->GetSta() )
{
            //dwColor = D3DCOLOR_ARGB( 255, 0, 0, 0 );//antes
            dwColor = D3DCOLOR_ARGB( 255, 255, 255, 255 );//agora
}
I tried this code no errors 8 success 0 failed but my text still Black :(:(
09/07/2013 08:36 yvansinues#6
What files do i need to change so i can have all text to white ..