Posts: 262
Threads: 73
Joined: Jul 2009
Reputation:
0
In my rp server some times when i left from the server and im login in again or im closed the server and open it again and login all my char stats going to 0 the stats from onplayerconnect
someone know wth is the problem i checked everything i cannot understand it
Posts: 466
Threads: 72
Joined: Jan 2010
Reputation:
0
How are you saving it? Can you post some of the code that saves your stats.
Posts: 262
Threads: 73
Joined: Jul 2009
Reputation:
0
Like the all rp servers not in MYSQL
it's saving to the files
format(string2, sizeof(string2), "users/%s.ini", playername2);
new File: UserFile = fopen(string2, io_read);
It's allways saving prefect but sometimes i dont know why it's calibrate all the saving stats to 0
Posts: 455
Threads: 44
Joined: Jan 2010
Reputation:
0
Find saving timer or it does it on disconnect?
Posts: 262
Threads: 73
Joined: Jul 2009
Reputation:
0
I checked the savingtimer and onplayerdisconnect it's not from there...
Posts: 1,593
Threads: 65
Joined: Nov 2008
Reputation:
0
You should run a server if you can't even figure why your stat's ain't saving in your own script, most likely (LA-RP) .