SA-MP Forums Archive
MYSQL mysql_query or mysql_tquery? - 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: MYSQL mysql_query or mysql_tquery? (/showthread.php?tid=578684)



MYSQL mysql_query or mysql_tquery? - Adi007 - 21.06.2015

Which is better as time of execution?


Re: MYSQL mysql_query or mysql_tquery? - Vince - 21.06.2015

Use threaded wherever possible. There a very few exceptions that warrant the use of unthreaded queries. The only exception I can currently think of is loading stuff that absolutely has to be in OnGameModeInit and which does not work elsewhere (UsePlayerPedAnims, amonst others).