Undefined Symbol "Mysql Query) - 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: Undefined Symbol "Mysql Query) (
/showthread.php?tid=448471)
Undefined Symbol "Mysql Query) -
Champ - 04.07.2013
i have added a_mysql.inc in script but still the errors are comming ↓
pawn Код:
error 017: undefined symbol "mysql_query"
error 017: undefined symbol "mysql_query"
error 017: undefined symbol "mysql_query"
error 017: undefined symbol "mysql_query"
error 017: undefined symbol "mysql_query"
error 017: undefined symbol "mysql_query"
error 017: undefined symbol "mysql_query"
error 017: undefined symbol "mysql_query"
error 017: undefined symbol "mysql_query"
error 017: undefined symbol "mysql_query"
error 017: undefined symbol "mysql_query"
error 017: undefined symbol "mysql_query"
error 017: undefined symbol "mysql_query"
Re : Undefined Symbol "Mysql Query) -
morocco - 04.07.2013
check here
https://sampforum.blast.hk/showthread.php?tid=417855
Re: Undefined Symbol "Mysql Query) -
Champ - 04.07.2013
please explain me. How to define mysql_query?
Re: Undefined Symbol "Mysql Query) -
SsHady - 04.07.2013
You'll have to rebuild it, because there's no more support for unthreaded queries. If you don't want to rebuild it, you need to go back to R6-2. I do not recommend it. Read AndreT's tutorial in the tutorial section.
Re: Undefined Symbol "Mysql Query) -
Champ - 04.07.2013
i am begineer in mysql so i have download a admin script and wants to edit it.
i have found this code for converting unthreaded queries to threaded.
pawn Код:
format(query, sizeof(query), "SELECT name,level,kills,deaths FROM players WHERE name = %s LIMIT 0,1", PlayerName);
mysql_query(query);
mysql_store_result();
if(mysql_num_rows())
{
mysql_fetch_row(data);
sscanf(data, "p<|>s[24]iii", name, level[playerid], kills[playerid], deaths[playerid]);
SendClientMessage(playerid, 0xFFFFFFFF, "I have received your data!");
}
mysql_free_result();
but i don't know where to use it. Please help.
Re: Undefined Symbol "Mysql Query) -
Red_Dragon. - 04.07.2013
I had this and fixed it by replacing mysql.inc with the older version (.inc) and re-compile.
Re: Undefined Symbol "Mysql Query) -
SsHady - 04.07.2013
Ye downgrade Your Plugin/include To R6-2 version
and Re-Compile