24.06.2012, 20:38
What I did notice is that you have a function called ResetStats, earlier on in the OnPlayerDisconnect callback, is that by any chance resetting something like the gPlayerLogged[playerid] variable? If it is, then none of the saving code will get run because you're logging the player out before saving it.
Also, the debug information, while useful to you, isn't helping me because you have not posted your updated code with the prints, so I can't see where the final print happened when you disconnected
Also, the debug information, while useful to you, isn't helping me because you have not posted your updated code with the prints, so I can't see where the final print happened when you disconnected
