Ко всем new:
Code
new Text:InfoTextDraw[MAX_PLAYERS];
new Text:Textdraw0;
В public OtherTimer:
Code
new exp = PlayerInfo[i][pExp];
new nxtlevel = PlayerInfo[i][pLevel]+1;
new expamount = nxtlevel*levelexp;
format(string,sizeof(string),"LvL: %d~n~Respect's: %d/%d",PlayerInfo[i][pLevel],exp,expamount);
TextDrawSetString(InfoTextDraw[i], string);
В OnPlayerConnect:
Code
TextDrawShowForPlayer(playerid, Textdraw0);
InfoTextDraw[playerid] = TextDrawCreate(502.0,3.0,"_");
TextDrawAlignment(InfoTextDraw[playerid],0);
TextDrawBackgroundColor(InfoTextDraw[playerid],0x000000ff);
TextDrawFont(InfoTextDraw[playerid],1);
TextDrawLetterSize(InfoTextDraw[playerid],0.4,1.0);
TextDrawColor(InfoTextDraw[playerid],0xffffffff);
TextDrawSetOutline(InfoTextDraw[playerid],1);
TextDrawSetProportional(InfoTextDraw[playerid],1);
TextDrawSetShadow(InfoTextDraw[playerid],1);
TextDrawShowForPlayer(playerid, InfoTextDraw[playerid])
Автор: Electro