20.11.2011, 15:19
If you only want the player to withdraw multipliers of 100, this may work:
pawn Код:
new
multiplier = (balance - (balance % 100)) / 100),
maxamount = (balance >= 100) ? multiplier * 100 : balance;