SA-MP Forums Archive
Multiple Systems Working on 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: Multiple Systems Working on MySQL (/showthread.php?tid=340239)



Multiple Systems Working on MySQL - Verbal - 06.05.2012

Hey guys, what's up?
I wonder how can I make multiple systems (FS) that works on the same MySQL (host, username,...) But of course not on the same table.
As long as I tried, I could only work with one FS that connects to the same MySQL each time.
Thanks .


Re: Multiple Systems Working on MySQL - Vince - 06.05.2012

Not sure how this is going to work out. I suppose you could open a connection in your gamemode and save the connection id in a property (see https://sampwiki.blast.hk/wiki/Setproperty). Then use that connection id to do the queries in the filterscripts (without opening another connection).