Saving on quit? - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Saving on quit? (
/showthread.php?tid=121130)
Saving on quit? -
jameskmonger - 15.01.2010
I cannot work out how to save the data (saved to a ini file) when the player quits.
If you need any of my code, just ask.
It uses dini.
Re: Saving on quit? -
addysnow1 - 15.01.2010
Do you use a script from someone else? Because If you have a register system. You normaly also have a something like a SavePlayer public.
Then you have to put SavePlayer(playerid); in your OnPlayerDisconnect.
But tell me what script you have.
Re: Saving on quit? -
jameskmonger - 15.01.2010
http://forum.sa-mp.com/index.php?topic=126584.0
Re: Saving on quit? -
addysnow1 - 16.01.2010
Why that system? Its a very easy system. But I'm to lazy to make a saveplayer plubic. So choose another system. I suggest
Ladmin. You got an admin system and a register system.
http://forum.sa-mp.com/index.php?topic=36990.0
Re: Saving on quit? -
MadeMan - 16.01.2010
Save player data to file in OnPlayerDisconnect.
Re: Saving on quit? -
addysnow1 - 17.01.2010
lol