Save and Load Invertory from mysql - 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: Save and Load Invertory from mysql (
/showthread.php?tid=630542)
Save and Load Invertory from mysql -
djmckjuba - 15.03.2017
Hello i have this script and need help with save and load from database.. I have a table where is Account ID under which the loading and save, but do not know how to save the name and value of the items .. I want to make a table for 50 items but the player may not have 50 ... How is it stored? How save this Item_Count and not all 50 item?
Please help, thank you for your help
Re: Save and Load Invertory from mysql -
SkyLineGT - 16.03.2017
Use an integer that keeps track of the player's total items.