
Originally Posted by
Keristrasza
o ok, just add a condition to the two occurrences of sprintf(szLevel,"--"); in zplayerlistbox.cpp, e.g. if (nGrade == 123) sprintf(szLevel, "%2d, nLevel); else strcpy(szLevel, "--");
I tried to put that in the code but it gave me many errors, I did it wrong apparently.
I'm really new, and a noob in coding, I just started learning C++. If you could help me out on this one I truly appreciate it.
PHP Code:
if(GetUserInfoUID(puid,_color,sp_name,gid)){
sprintf(szLevel,"--");
szRefName = szName;
bSpUser = true;
}
else {
sprintf(szLevel,"%2d",nLevel);
szRefName = szName;
}