10.08.2009, 19:16
Hello
I've got a formula:
I tried to write it in pawno, but i failed:
When 'playerHP' = 100, 'ExpKord' = 402.040008,
when 'playerHP' = 50, 'ExpKord' = 402.040008,
when 'playerHP' = 1, 'ExpKord' = 402.040008.
I've got a formula:
Код:
((playerHP*204) / 100) + 400
Код:
new Float:ExpKord = floatadd(400,floatdiv(floatmul(playerHP,204),100));
when 'playerHP' = 50, 'ExpKord' = 402.040008,
when 'playerHP' = 1, 'ExpKord' = 402.040008.