11.08.2011, 04:00
I assume that Player[playerid][Money] is an integer? and so is the BankMoney enumeration? You cannot compare an integer to a string like that, nor increment it like that, nor would you really want to, instead I suggest doing this:
That will get the integer value of the inputtext and store it in amount as an integer, so therefore the rest of your code should function as intended.
pawn Код:
new amount = strval(inputtext);