SA-MP Forums Archive
mysql_retrieve_row - 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_retrieve_row (/showthread.php?tid=527346)



mysql_retrieve_row - TheNerka - 22.07.2014

how to change mysql_retrieve_row to mysql r38?


Re: mysql_retrieve_row - Jack_Leslie - 22.07.2014

https://sampwiki.blast.hk/wiki/MySQL/R33#cache_get_row


Re: mysql_retrieve_row - TheNerka - 22.07.2014

Код:
	if(cache_get_row()) //3 warnings on this line
	{
    	mysql_fetch_row_format(temp, "Director");    format(Code, sizeof(Code), "%s", name);
    	mysql_fetch_row_format(temp, "Name");    format(Code, sizeof(Code), "%s", dname);
	}
Код:
warning 202: number of arguments does not match definition
warning 202: number of arguments does not match definition
warning 202: number of arguments does not match definition



Re: mysql_retrieve_row - Jack_Leslie - 22.07.2014

Oh, try cache_get_row_count


Re: mysql_retrieve_row - TheNerka - 22.07.2014

Thanks working