21.08.2018, 03:36
You are not executing the query after formating it.
https://sampwiki.blast.hk/wiki/MySQL/R33#mysql_tquery
Someone correct me if I'm wrong (being that I haven't SAMP scripted in ages) but I believe the new version of MySQL automatically enables logs for MYSQL under the logs > Plugins folder of your server files to check if you have any SQL error codes. But as stated above, I'm certain you need to execute your query.
PHP код:
mysql_tquery(connectionHandle, query[], callback[] = "", format[] = "", {Float,_}:...)
Someone correct me if I'm wrong (being that I haven't SAMP scripted in ages) but I believe the new version of MySQL automatically enables logs for MYSQL under the logs > Plugins folder of your server files to check if you have any SQL error codes. But as stated above, I'm certain you need to execute your query.