How to load X, Y, Z
#9

Like I posted above, the "OnPlayerDisconnect" callback is not called when you restart your server. For example, if you click "X" button at the server command prompter (or what ever is the black screen), it just shuts the gamemode down, without calling 'any' callback ? Like you said, it saves when you do /q but when you close the server, no. So, what you can do, is either make a command to restart the server, which loops through all online players and will save all their stats and after that restart the server or just kick all players, forcing them to save their stats.
Reply


Messages In This Thread
How to load X, Y, Z - by Scripter12345 - 27.04.2012, 16:35
Re: How to load X, Y, Z - by antonio112 - 27.04.2012, 16:38
Re: How to load X, Y, Z - by Scripter12345 - 27.04.2012, 16:41
Re: How to load X, Y, Z - by Marco_Valentine - 27.04.2012, 17:08
Re: How to load X, Y, Z - by Scripter12345 - 27.04.2012, 17:10
Re: How to load X, Y, Z - by Marco_Valentine - 27.04.2012, 17:16
AW: How to load X, Y, Z - by Nero_3D - 27.04.2012, 17:20
Re: AW: How to load X, Y, Z - by Scripter12345 - 27.04.2012, 17:33
Re: How to load X, Y, Z - by antonio112 - 27.04.2012, 18:18
Re: How to load X, Y, Z - by Marco_Valentine - 27.04.2012, 18:24

Forum Jump:


Users browsing this thread: 6 Guest(s)