Posts: 507
Threads: 94
Joined: May 2012
Reputation:
0
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.
Posts: 1,253
Threads: 36
Joined: Aug 2011
Reputation:
0
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.
Posts: 1,028
Threads: 45
Joined: May 2009
Reputation:
0
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.