[FilterScript] MySql Store Base
#1

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)
Reply
#2

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

Nice Good Job
Reply
#4

Good one
Reply
#5

really nice!
Reply
#6

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

Good job!
Reply
#8

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?
Reply
#9

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

Thanks for the script, will be using it
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)