13.09.2014, 17:02
Lуgica й esta:
Teste aqui: http://slice-vps.nl:7070/
pawn Код:
#include <a_samp>
#include <ppg>
new lvl = 5;
new lvlexp =6;
main() {
new nxtlevel = lvl +1;
new nlvlexp = nxtlevel * lvlexp;
new pexp = 13;
printf("Percentagem para proximo level: %0.3f", (floatdiv(pexp, nlvlexp) * 100.0));
}