08.06.2010, 10:26
Help please.
I have a problem. I installed textdraw (found somewhere on the forum) which shows your Level and Respect. It shows level and respects properly, but number of Respects needed for new level is always shown as 4. The problem in levelexp, am I right? It's set to 'new levelexp = 4' by default
This Code:
I have a problem. I installed textdraw (found somewhere on the forum) which shows your Level and Respect. It shows level and respects properly, but number of Respects needed for new level is always shown as 4. The problem in levelexp, am I right? It's set to 'new levelexp = 4' by default
This Code:
Код:
if(gPlayerLogged[i] == 1) { TextDrawHideForPlayer(i, InfoTextDraw); format(string,sizeof(string),"LVL: %d~n~Respect: %d/%d",PlayerInfo[i][pLevel],PlayerInfo[i][pExp],levelexp); InfoTextDraw = TextDrawCreate(547.000000,40.000000,string); TextDrawAlignment(InfoTextDraw,0); TextDrawBackgroundColor(InfoTextDraw,0x000000ff); TextDrawFont(InfoTextDraw,1); TextDrawLetterSize(InfoTextDraw,0.299999,1.100000); TextDrawColor(InfoTextDraw,0xffffffff); TextDrawSetOutline(InfoTextDraw,1); TextDrawSetProportional(InfoTextDraw,1); TextDrawSetShadow(InfoTextDraw,1); TextDrawShowForPlayer(i, InfoTextDraw); }