17.06.2011, 13:50
Hey guys,
Im currencly working on a bank FS, and i got some problems with depositting money into a .ini.
It's all working with dialogs, when you go to the deposit dialog, and type 500 as example, it changes the amount in the ini to 53.
And yes, i also got the amount of money that i'm trying to deposit on the bank
Tell me if you need any more details
Im currencly working on a bank FS, and i got some problems with depositting money into a .ini.
It's all working with dialogs, when you go to the deposit dialog, and type 500 as example, it changes the amount in the ini to 53.
pawn Код:
dini_IntSet(file, "Cash amount", dini_Int(file, "Cash amount") + inputtext[0]); // Getting the amount of cash that is already in the file, and then add's the inputtext what you want to deposit
Tell me if you need any more details