SA-MP Forums Archive
Mysql_Query error - 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_Query error (/showthread.php?tid=526798)



Mysql_Query error - TheNerka - 19.07.2014

Код:
error 035: argument type mismatch (argument 1)
This line error
Код:
mysql_query(gQuery);
My a_mysql.inc is R38

How to change mysql_query(gQuery); to R38 query?


Respuesta: Mysql_Query error - Xabi - 19.07.2014

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

mysql_query(conhandle, query[], bool:use_cache = true)


Re: Mysql_Query error - TheNerka - 19.07.2014

But real code what?
Example
mysql_query(gQuery);


Respuesta: Mysql_Query error - Xabi - 19.07.2014

pawn Код:
connectionHandle = mysql_connect(...);
mysql_query(connectionHandle, gQuery);



Re: Mysql_Query error - TheNerka - 19.07.2014

Very thanks working