05.07.2016, 10:22
As it seems the script uses R7 so since you've got threaded queries already, keep the latest version and replace mysql_function_query with mysql_tquery (check the parameters, not just replacing the name) and mysql_debug became mysql_log.
More here: https://sampwiki.blast.hk/wiki/MySQL/R33#mysql_tquery and https://sampwiki.blast.hk/wiki/MySQL/R33#mysql_log
More here: https://sampwiki.blast.hk/wiki/MySQL/R33#mysql_tquery and https://sampwiki.blast.hk/wiki/MySQL/R33#mysql_log