SA-MP Forums Archive
QUERYFinish - 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: QUERYFinish (/showthread.php?tid=303163)



QUERYFinish - Ricop522 - 12.12.2011

What is the importance to use QueryFinish ?


Re: QUERYFinish - JamesC - 12.12.2011

To thread queries. Read the wiki. https://sampwiki.blast.hk/wiki/MySQL#OnQueryFinish


Re: QUERYFinish - Scenario - 12.12.2011

PAWN is single-threaded which means everything has to happen one thing after the other. I can't have two things happen at once, unless they are threaded- in which I can do multiple things at once. With threaded queries I can run multiple queries at once, without lagging up the server, or the DB. Awesome, right?


Re: QUERYFinish - Ricop522 - 12.12.2011

Right, thanks for explain.