SA-MP Forums Archive
MySQL Shop & Server - 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: Discussion (https://sampforum.blast.hk/forumdisplay.php?fid=84)
+---- Thread: MySQL Shop & Server (/showthread.php?tid=580137)



MySQL Shop & Server - Gazzy - 02.07.2015

Does anybody know of any way to integrate a shop with a server so that after a player purchases an item on the shop it immediately gets given to them in-game? I know of other games that have this feature and always thought it would be a brilliant addition to all SA-MP servers.


Re: MySQL Shop & Server - [KHK]Khalid - 02.07.2015

The shop is on some webpage, is that what you mean? Yeah, you can do this with a host and some knowledge of MySQL & PHP.


Re: MySQL Shop & Server - Gazzy - 02.07.2015

Okay, thanks do you know of any MySQL shops?


Re: MySQL Shop & Server - Lynn - 03.07.2015

You will still have to have a little knowledge yourself in-order to integrate it into your server.
The Database names from one you download most likely won't be using the same names that you use within your script such as variable names. Which in return will cause major issues down the road when people are purchasing something and never obtaining it. It may not work at as-well or even crash.


Re: MySQL Shop & Server - Gazzy - 03.07.2015

Okay, thanks very much for the help guys