Can any one give me a hint where to fix this
![]()
Can any one give me a hint where to fix this
![]()
That happens when you are using a GM Account, otherwise NameDisplay*.cpp will be the file.
ohh thank you Lars
i'm actually messing around that NameDisplay.cpp and i didn't see anything wrong haha
i created normal account then it solves
now i'm trying to add badge for gm
#2
Last edited by clove123; 21-07-22 at 10:54 PM.
this source: https://forum.ragezone.com/f528/rele...th-in-1198375/
- - - Updated - - -
updates on gm badge done
![]()
Share split source of gm badge
- - - Updated - - -
here some gui https://www.mediafire.com/file/uwn8r...mlogo.png/file
can you share split source for gm badge sir ?
It is a very easy function, try to do it by yourself.
Hint:
NameDisplay.h NameDisplay.cpp
add a
CString strSchoolMarkGM[] =
{
"NAME_DISPLAY_SCHOOL1_GM",
"NAME_DISPLAY_SCHOOL2_GM",
"NAME_DISPLAY_SCHOOL3_GM"
};
for ( int i = 0; i < nSCHOOLMARK; ++i )
{
m_pSchoolMarkGM[i] = CreateControl ( strSchoolMarkGM[i].GetString(), UI_FLAG_LEFT );
m_pSchoolMarkGM[i]->SetVisibleSingle ( FALSE );
m_rcSchoolMarkGM[i] = m_pSchoolMarkGM[i]->GetLocalPos();
}
and then find SetName function,
if( RANPARAM::bFeatureHideGMInfo && m_sDISP_INFO.m_bHideGMInfo )
{
wSchoolMark = NODATA;
m_bClub = FALSE;
m_pClubMark->SetVisibleSingle ( FALSE );
}
copy below logic into the if-block, then replace m_pSchoolMark to m_pSchoolMarkGM.
Finally, serach NAME_DISPLAY_SCHOOL1 gui to add new gm gui.
ohh same concept of what I did nice one
btw pan0s I have a new help thread if you don't mind take a look and see if you could help me tnks
Last edited by clove123; 08-08-22 at 10:14 PM.
still no work.
https://imgur.com/a/D6lOzcx
- - - Updated - - -
Okay thank you, solved.
- - - Updated - - -
how come mine is not working. i did the gui already and i change the texture. but still the same.
![]()
how to make it work can you share ?