SA-MP Forums Archive
LOSING DATA SOLUTION... - INI - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: LOSING DATA SOLUTION... - INI (/showthread.php?tid=493428)



LOSING DATA SOLUTION... - INI - yos136 - 08.02.2014

Hey..
the problem that the server losing data when it gets down... all data are get lost..
if there is something may could fix that (OnGameModeint Saving Or Somthing)...


Re: LOSING DATA SOLUTION... - INI - caoraivoso3 - 08.02.2014

use a function to kick all the player and put it on ongamemodeexit. that will make the players getting out and save their info.

this should be in scripting help and not 0.3z rc scripting


Re: LOSING DATA SOLUTION... - INI - yos136 - 08.02.2014

NONONONO It doesnt work!
when server is down (no rcon exit or something..)
OnGameModExit doesnt call.


you know..., lags on server...


Re: LOSING DATA SOLUTION... - INI - Mauzen - 08.02.2014

Usually you would create a timer that saves your stuff once in a while, thats the only effective method to minimize dataloss on server crashs.