Argument type mismatch.. Help :D - 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: Argument type mismatch.. Help :D (
/showthread.php?tid=304151)
Argument type mismatch.. Help :D -
aniol16 - 17.12.2011
Hi, i have a problem.
This is source:
Код:
new
uid,
writies;
uid = strval(mysql_fetch_row("cid")); // (Error: argument 1)
writies = strval(mysql_fetch_row("write")); // (Error: argument 1)
mysql_free_result();
Thanks for Help.
Re: Argument type mismatch.. Help :D - suhrab_mujeeb - 17.12.2011
Problem with ur mysql_fetch_row. It goes like this:
pawn Код:
mysql_fetch_row(dest[], const splitter[], MySQL:handle);
Re: Argument type mismatch.. Help :D -
aniol16 - 17.12.2011
I use the MySQL Plugin R6-2
And there defines
Код:
#define mysql_fetch_row(%1) mysql_fetch_row_format(%1,"|")
mysql_fetch_row_format(string[],const delimiter[] = "|",connectionHandle = 1);