PDA

View Full Version : Multiple Systems Working on MySQL


Verbal
06/05/2012, 02:23 PM
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 :).

Vince
06/05/2012, 02:49 PM
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 http://wiki.sa-mp.com/wiki/Setproperty). Then use that connection id to do the queries in the filterscripts (without opening another connection).