02.07.2009, 20:14
Hi, im really confused with working out percentages.
This is what i've tried so far, but went horrible wrong.
I end up getting some crazy long number.. Can someone help with this please?
This is what i've tried so far, but went horrible wrong.
pawn Код:
new percent = 3; //3 percent
new Float:earned = PropData[propertyid][p_Sell] - ((PropData[propertyid][p_Sell] / 100.0) * percent);