Money.
#1

I used y_ini to save money but I have a problem that if the money increases it saves but when the money decreases it does not save.Like if i have 200 and one gave me 100.It would save as 300 but if i have 200 and I spent money till the money get's 100.And when I will relog the money are 300.
Reply
#2

Show us your code, we can't help you without it.

One weird way this may be happening is if you for some reason made a variable with money, and didn't do anything with it unless you decrease money, in which the variable adds the number, and then when it saves, you add the number on-top of your other cash.
Reply
#3

You need to change a '>' or '<' into a '!=' somewhere, but I cannot tell you where, unless you show us your source code.

That would be my suggestion.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)