02.07.2009, 20:16
hmm, i'll check this out. i'll edit this post
pawn Код:
new float:proc = 0.97; // note that this will be equal to the amount remaining ;]
new earned = floatround(PropDate[propertyid][p_Sell]*proc); // this will round the float. there may be a slight miscalculation at some points for example *.5 at the end would lead it would be *+1 instead of *1, but tat's nothing to worry about. this should work. wtf am I writing so long anyway? :DD