Posts: 5,314
Threads: 12
Joined: Aug 2010
Reputation:
0
Й matemбtica bбsica.
1 - 33
x - 100
x = 1*100/33
1 = respeito atual = PlayerInfo[playerid][pExp]
33 = respeito mбximo = expamount
Em vez de %d, usa %.3f
Posts: 484
Threads: 10
Joined: Jul 2012
Reputation:
0
new nxtlevel = PlayerInfo[playerid][pLevel]+1;
new Float:expamount = (levelexp*100)/nxtlevel;
format(string, sizeof(string), "~w~Exp: %0.3f%%", expamount);
Posts: 646
Threads: 238
Joined: Jun 2014
Reputation:
0
vlw +rep para os dos que me ajudaram, caso resolvido vou colocar agora! ; )