Stats Saving on Server Stop/Restart - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Server (
https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (
https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Stats Saving on Server Stop/Restart (
/showthread.php?tid=602525)
Stats Saving on Server Stop/Restart -
Devon007 - 08.03.2016
I am using Linux vps and using a game panel and players stats only saving on rcon gmx when trying to restart from game panel its not saving
Re: Stats Saving on Server Stop/Restart -
K0P - 08.03.2016
You mean player stats?
If thats it then make the stats save when the player disconnects
Re: Stats Saving on Server Stop/Restart -
Devon007 - 08.03.2016
its working on player leaving and in gmx
Re: Stats Saving on Server Stop/Restart -
SaltySandy - 08.03.2016
How do you save your data ( I'm unable to write a code for you due to this ) however, you may try something like:
PHP код:
public OnGameModeExit
{
// save your shit here
}
Re: Stats Saving on Server Stop/Restart -
Devon007 - 09.03.2016
yes it have i think the game panel execute this
and then again
so the process get stopped and stats does not get saved ?