SA-MP Forums Archive
[MySQL] Is it possible to use a connection in a second script? - 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: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [MySQL] Is it possible to use a connection in a second script? (/showthread.php?tid=135208)



[MySQL] Is it possible to use a connection in a second script? - adsy - 19.03.2010

I am creating a filterscript addon for my gamemode and am wondering if i need to connect to the database with every script i want a mysql action to take place.

Example:

Filterscript 1 Connection
Filterscript 2 Gathering data
Filterscript 3 Gathering data