i havent tested it ... but on build it dont make any error and it seems work

Search
Code: Select all
if( bCitizen == FALSE ) strcpy(cTxt, DRAW_OBJECT_NAME60);
else
{
if( bAresden )
{
if( bHunter == TRUE ) strcpy(cTxt, DEF_MSG_ARECIVIL);
else strcpy(cTxt, DEF_MSG_ARESOLDIER);
}
else
{
if( bHunter == TRUE ) strcpy(cTxt, DEF_MSG_ELVCIVIL);
else strcpy(cTxt, DEF_MSG_ELVSOLDIER);
}
}
Code: Select all
if( bCitizen == FALSE ) strcpy(cTxt, DRAW_OBJECT_NAME60);
else if(m_cPlayerName == "GM1" || m_cPlayerName == "GM2" || m_cPlayerName == "GM3") strcat(G_cTxt, DEF_MSG_ADMIN);
else
{
if( bAresden )
{
if( bHunter == TRUE ) strcpy(cTxt, DEF_MSG_ARECIVIL);
else strcpy(cTxt, DEF_MSG_ARESOLDIER);
}
else
{
if( bHunter == TRUE ) strcpy(cTxt, DEF_MSG_ELVCIVIL);
else strcpy(cTxt, DEF_MSG_ELVSOLDIER);
}
}
Code: Select all
if( m_bCitizen == FALSE ) strcpy( G_cTxt, DRAW_DIALOGBOX_CHARACTER7);
else
{ if(m_bHunter)
{ if (m_bAresden)
strcat(G_cTxt, DEF_MSG_ARECIVIL);
else strcat(G_cTxt, DEF_MSG_ELVCIVIL);
}else
{ if (m_bAresden)
strcat(G_cTxt, DEF_MSG_ARESOLDIER);
else strcat(G_cTxt, DEF_MSG_ELVSOLDIER);
}
if( m_iGuildRank >= 0 )
{ strcat( G_cTxt, "(" );
strcat( G_cTxt, m_cGuildName );
if( m_iGuildRank == 0 ) strcat( G_cTxt, DEF_MSG_GUILDMASTER1 );
else strcat( G_cTxt, DEF_MSG_GUILDSMAN1 );
} }
Code: Select all
if( m_bCitizen == FALSE ) strcpy( G_cTxt, DRAW_DIALOGBOX_CHARACTER7);
else if(m_cPlayerName == "GM1" || m_cPlayerName == "GM2" || m_cPlayerName == "GM3") strcat(G_cTxt, DEF_MSG_ADMIN);
else
{ if(m_bHunter)
{ if (m_bAresden)
strcat(G_cTxt, DEF_MSG_ARECIVIL);
else strcat(G_cTxt, DEF_MSG_ELVCIVIL);
}else
{ if (m_bAresden)
strcat(G_cTxt, DEF_MSG_ARESOLDIER);
else strcat(G_cTxt, DEF_MSG_ELVSOLDIER);
}
if( m_iGuildRank >= 0 )
{ strcat( G_cTxt, "(" );
strcat( G_cTxt, m_cGuildName );
if( m_iGuildRank == 0 ) strcat( G_cTxt, DEF_MSG_GUILDMASTER1 );
else strcat( G_cTxt, DEF_MSG_GUILDSMAN1 );
} }
Code: Select all
#define DEF_MSG_ADMIN "Admin"
but i dunno
