How can I convert exp to percentage?
#3

Код:
float((PlayerInfo[i][pExp]/exp_max)*100);
And when formatting the string, replace '%d' with '%f.0'
Reply


Messages In This Thread
How can I convert exp to percentage? - by zowzow - 21.11.2018, 08:10
Re: How can I convert exp to percentage? - by PT - 21.11.2018, 12:45
Re: How can I convert exp to percentage? - by Joe Staff - 21.11.2018, 13:31
Re: How can I convert exp to percentage? - by zowzow - 21.11.2018, 17:22
Re: How can I convert exp to percentage? - by Cheryl666 - 21.11.2018, 17:47

Forum Jump:


Users browsing this thread: 1 Guest(s)