[Ajuda] Textdraw
#3

Lуgica й esta:
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));
}
Teste aqui: http://slice-vps.nl:7070/
Reply


Messages In This Thread
Textdraw - by SukMathcuck - 13.09.2014, 16:45
Re: Textdraw - by SukMathcuck - 13.09.2014, 16:50
Re: Textdraw - by VeNuZ_ - 13.09.2014, 17:02
Re: Textdraw - by zSuYaNw - 13.09.2014, 17:08

Forum Jump:


Users browsing this thread: 2 Guest(s)