31.10.2010, 13:43
Uhh.. I'm using an include atm : Progress bar 1.3.1, the bar looks like that:
/imageshack/img339/7272/samp148j.png
except its at 0, i don't want to enlarge any bars, it should be filling up and after i reach the level it goes to 0, i don't understand how else i can do it. But the code mademan gave me above:
SetProgressBarValue(ExpBar[x], (dUserINT(pName(x)).("Experience") / LevelExp[dUserINT(pName(x)).("Level")]) * 100);
First level exP: 5000 , second - 18975
so if i have 7538 exp that would be : 7538/18975x100=39.7% but it would be written like 39%. So the code is right but what else is wrong?
/imageshack/img339/7272/samp148j.png
except its at 0, i don't want to enlarge any bars, it should be filling up and after i reach the level it goes to 0, i don't understand how else i can do it. But the code mademan gave me above:
SetProgressBarValue(ExpBar[x], (dUserINT(pName(x)).("Experience") / LevelExp[dUserINT(pName(x)).("Level")]) * 100);
First level exP: 5000 , second - 18975
so if i have 7538 exp that would be : 7538/18975x100=39.7% but it would be written like 39%. So the code is right but what else is wrong?