Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function UpdateProgress3(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;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement