AutoSave - 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: AutoSave (
/showthread.php?tid=206209)
AutoSave -
Stefans94 - 03.01.2011
Anyone has a simple autosave script?
So the server automaticly saves all online accounts every 5 minutes? because right now it only saves when you log out...
Re: AutoSave -
Ivan_Pantovic - 03.01.2011
what game mode are you using ?
Re: AutoSave -
Stefans94 - 03.01.2011
i'm making my own game mode, a rpg server
Re: AutoSave -
Mauzen - 03.01.2011
Use SetTimerEx (
https://sampwiki.blast.hk/wiki/SetTimerEx) to create a repeating timer that calls the function you use to save a players data (the same function that you call in OnPlayerDisconnect).