30.09.2016, 11:37
Um, is that the actual code that saves the player's account on disconnect? If so, you have a major issue not specifying which player to save. The way that code would work is when someone disconnects, everyone in the server will have their stats set to the last player that disconnected.