Inventory system - 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: Inventory system (
/showthread.php?tid=526686)
Inventory system -
Erik3333 - 18.07.2014
Hi!
Is there an inventory system, which using MySQL?
If not, how should save the items?
And if I open the inventory, then query it at the time or it be pre-loaded?
(Sorry for my bad English!)
Re: Inventory system -
AlonzoTorres - 18.07.2014
Yes, there are inventory systems that are using MySQL out there. I suggest that you use variables in your server that store the information and only save/load information as rarely as possible like once when the player joins/quits. Depending on the redundancy you might want to have a timer which saves the information from time to time too. You have to learn how to script or write in the "Looking for..." thread. Good luck Mr. Swedish guy (aah дr ocksе svensk).
Re: Inventory system -
Erik3333 - 19.07.2014
Can you or somebody show, how it would look like?
Or link me that MySQL inventory, because I couldn't find it.
Re: Inventory system -
xVIP3Rx - 19.07.2014
this plugin could be useful , check it out
Re: Inventory system -
Erik3333 - 19.07.2014
No download links.