SA-MP Forums Archive
MySQL R6 to MySQL R39 - 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 R6 to MySQL R39 (/showthread.php?tid=598380)



MySQL R6 to MySQL R39 - SetPlayerWantedLevel - 11.01.2016

Hello, im SetPlayerWantedLevel from Spanish section and im trying to change MySQL R6 to MySQL R39.

What i need?

Well, i change mysql_ping to mysql_errno, but i dont know how to do it with this functions:


mysql_num_rows
mysql_store_result
mysql_free_result
mysql_fetch_row


I want to know what to replace, thanks, i will give +rep to the user that help me


Re: MySQL R6 to MySQL R39 - Cypress - 11.01.2016

Quote:
Originally Posted by SetPlayerWantedLevel
Посмотреть сообщение
Hello, im SetPlayerWantedLevel from Spanish section and im trying to change MySQL R6 to MySQL R39.

What i need?

Well, i change mysql_ping to mysql_errno, but i dont know how to do it with this functions:


mysql_num_rows
mysql_store_result
mysql_free_result
mysql_fetch_row


I want to know what to replace, thanks, i will give +rep to the user that help me
There is a wiki page for BlueG's MySQL plugin.

Also there are some example scripts which might help you to get started.

mysql_num_rows is cache_num_rows etc. Just make sure you check the example scripts and find the new function names on the wiki page.