SA-MP Forums Archive
Question: How to make an object store. - 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: Question: How to make an object store. (/showthread.php?tid=270157)



Question: How to make an object store. - Superrollo - 19.07.2011

Hi,

I have my own server and I want to make use of appartments.

I'm working on a list of furniture that players can buy through a catalog (in game),
I know how a player can "buy" an object and spawn it, I'm not such a bad scripter :P

But I have a question though, because when someone spawned furniture, next time the server restarts it dissapears.

Is there any way so save these objects? Because they only spawn after the command of the player, and not when the server starts...

Can anybody help me here?


Re: Question: How to make an object store. - [HiC]TheKiller - 19.07.2011

You could either save them with a file system or SQLite / MySQL.