SA-MP Forums Archive
[FilterScript] MySql Store Base - 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: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] MySql Store Base (/showthread.php?tid=244616)



MySql Store Base - Rokzlive - 27.03.2011

MySql Base Dynamic Store System!

What is it?
Its a MySql build dynamic sotre system that allows you to add stores ingame and have them respawn every time you load this script!

Whats it do?
Loads stores from a mysql database and creates a pickup, 3d text, and map icon on the map!

Why is it a base?
Because you have to code the store, this is just a system so you can add them dynamically!

Does it come with premade ones?
Yes it comes with a few stores included!

Is there any bugs?
Yes. They spawns but do not work on custom objects. It may just be my testing servers fault but i dnno.

What MySql plugin does it use?
Strikenkids.

Commands!
/addstore (It adds a store at the exact spot your standing.)

Credits!
Rokzlive (ME) - Coded it
Lethal - Based this system off a FS he made and he helped me fix alot of problems!
RoboCop228 - Helped me with some annoying sscanf issues.
Mick88 - Currently trying to fix the bug with custom objects.
Strikenkid - I used his mysql plugin.

Download!
PWN: http://pastebin.com/znn4Vysi
SQL Dump: http://pastebin.com/8pFE9ruT
Plugins and includes: http://solidfiles.com/d/b0002/

Original thread on my forums: http://forum.rokzlive.com/index.php?...tore-system.4/ (Yes im Whatcha on there so dont think im taking credit for somthing)


Re: MySql Store Base - Oliverraisk - 28.03.2011

Will test after school. Been looking it for a long time.


Re: MySql Store Base - wheelman_WM - 28.03.2011

Nice Good Job


Re: MySql Store Base - royal_king - 28.03.2011

Good one


Re: MySql Store Base - Medal Of Honor team - 28.03.2011

really nice!


Re: MySql Store Base - Retardedwolf - 28.03.2011

So you actually coded it this time instead of purchasing it? Good job but you should start learning to use threaded queries.


Re: MySql Store Base - Ironboy - 28.03.2011

Good job!


Re: MySql Store Base - Oliverraisk - 28.03.2011

I could'nt make it work with my gamemode mysql plugin, wich is made by G-sTyLeZzZ. I tried runnin them both, in server.cfg, plugins line looked like this: plugins sscanf streamer mysql /biz/mysql (had all on correct place and it found it), but i think samp-server.exe cant accept two connections into mysql, or it it jusy mu host (which allows up to 100 connections at once). Is there any way to fix this?


Re: MySql Store Base - Rokzlive - 29.03.2011

This is coded in strikenkids. YOu wither need to convert this script or convert your script.


Re: MySql Store Base - Oliverraisk - 29.03.2011

Thanks for the script, will be using it