SA-MP Forums Archive
New Help. - 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: New Help. (/showthread.php?tid=647599)



New Help. - Hunud - 07.01.2018

I'm using lastest version of mysql, what's the problem i don't get it.

Код:
error 017: undefined symbol "mysql_store_result"
error 017: undefined symbol "mysql_num_rows"
error 017: undefined symbol "mysql_fetch_row_format"

mysql_store_result();
if(cache_num_rows() == 0) break;
else if(mysql_num_rows() != 0)
{
mysql_fetch_row_format(gQuery);



Re: New Help. - pollo97 - 07.01.2018

Check this out: https://sampwiki.blast.hk/wiki/MySQL/R40
The function name are changed, for example mysql_num_rows(), now is cache_get_row_count(row_count).


Re: New Help. - Hunud - 07.01.2018

I have no idea what to change lol.

And, how do i know which ones are replaced with old ones if i can't rec name itself..


Re: New Help. - pollo97 - 07.01.2018

Paste the query, i'll try to help you


Re: New Help. - Hunud - 07.01.2018

This ?

Код:
mysql_tquery(ppl_SQL, gQuery);



Re: New Help. - pollo97 - 07.01.2018

The mysql_format too


Re: New Help. - Hunud - 07.01.2018

There is no such thing in my script. That's all i got.


Re: New Help. - pollo97 - 07.01.2018

Well.. what query are you executing?

Maybe, you can tell me what are you trying to do


Re: New Help. - Hunud - 07.01.2018

....

mysql_tquery(ppl_SQL, "gQuery");


Re: New Help. - pollo97 - 07.01.2018

Your code is incomplete, i don't understand.
So can you tell me what you have to do