SA-MP Forums Archive
Mysql return - 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 return (/showthread.php?tid=643252)



Mysql return - Skream - 16.10.2017

seems that cache_num_rows doesn't return if there was a affected row or not.

https://pastebin.com/xNFJBQQH

So how I do it?


Re: Mysql return - Jstylezzz - 16.10.2017

If you're using the threaded MySQL plugin by BlueG (R33 and above), you should be able to use cache_affected_rows.