SA-MP Forums Archive
Saving everything in my server? - 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: Saving everything in my server? (/showthread.php?tid=554066)



Saving everything in my server? - Alexv001 - 02.01.2015

Hi guys I don't know if i'm just being stupid or something but every time I shut down my server or it restarts everything is gone like I have to choose my skin again and all the cars on the map that were there are gone and so are my money and guns.. How can I save all of these things?


Re: Saving everything in my server? - Lawbringer - 02.01.2015

Database.

Find a nice scripter who can design you a persistence database in MySQL.


Re: Saving everything in my server? - Alexv001 - 02.01.2015

I know basic PAWN, do you think i'd be able to set up a database by myself?


Re: Saving everything in my server? - Krest - 02.01.2015

You need some basic web developing skills if you want to properly set up a MySQL database. Else you can use y_ini, it stores the saved data in scriptfiles folder, so it saves locally. Search for a y_ini registering system tutorial or something.


Re: Saving everything in my server? - muzammilfreeman - 02.01.2015

Better way is just post here https://sampforum.blast.hk/showthread.php?tid=447813 for a good scripter, it'll be good enough for ya'...