Bug that i cannot unterstand - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Bug that i cannot unterstand (
/showthread.php?tid=141521)
Bug that i cannot unterstand -
Ben147 - 13.04.2010
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
Re: Bug that i cannot unterstand -
ruckfules99 - 13.04.2010
How are you saving it? Can you post some of the code that saves your stats.
Re: Bug that i cannot unterstand -
Ben147 - 14.04.2010
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
Re: Bug that i cannot unterstand -
Thrarod - 14.04.2010
Find saving timer or it does it on disconnect?
Re: Bug that i cannot unterstand -
Ben147 - 14.04.2010
I checked the savingtimer and onplayerdisconnect it's not from there...
Re: Bug that i cannot unterstand -
shady91 - 14.04.2010
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) .
Re: Bug that i cannot unterstand -
Ben147 - 14.04.2010
It's LA Edit..........