function UpdateProgress(const playerid) {
new
szStr[64],
exp = PlayerInfo[playerid][pLevel]*levelexp,
Float: textdrawProcent = (267 + PlayerInfo[playerid][pExp] * 100 / exp);
format(szStr,sizeof szStr,"_LEVEL %d (%d%s)", PlayerInfo[playerid][pLevel], (PlayerInfo[playerid][pExp] * 100 / exp),"%");
PlayerTextDrawSetString(playerid, LevelTD[playerid][0], szStr);
PlayerTextDrawShow(playerid, LevelTD[playerid][0]), PlayerTextDrawShow(playerid, LevelTD[playerid][1]);
PlayerTextDrawTextSize(playerid, LevelTD[playerid][2], textdrawProcent, 0.000000);
PlayerTextDrawHide(playerid, LevelTD[playerid][2]), PlayerTextDrawShow(playerid, LevelTD[playerid][2]);
return 1;
}
mai modifica cate una alta de aici