Well the first player to log out will call the saving function, when the function has finished then the next one will be called.
The client will auto set another query in a que , once the first query is done , then auto executes the other query Or I need to send the query again to the database?