Errors - 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: Errors (
/showthread.php?tid=613268)
Errors -
GreatLouis - 26.07.2016
I was compiling West Coast RolePlay script with mysqlr33, but I get these errors:-
PHP Code:
error.pwn(863) : error 017: undefined symbol "mysql_debug"
error.pwn(865) : error 017: undefined symbol "enable_mutex"
error.pwn(952) : error 017: undefined symbol "mysql_ping"
Heres the code:-
PHP Code:
#if debug
mysql_debug(1);
#else
mysql_debug(0); //>>>>>>>>>>>>>Line 863
#endif
enable_mutex(false); //>>>>>>>>>>Line 865
PHP Code:
if(g_mysql_handle)
mysql_close(g_mysql_handle);
while(mysql_ping(g_mysql_handle) == 1) { //>>>>>>>>>>>>>Line 952
#emit NOP
I compiled this script with mysqlr7 and it compiled but when I do with mysqlr33 I get these errors. So, please tell me how to get them fixed.
Re: Errors -
Luis- - 26.07.2016
Those functions aren't used in MySQL R33 unfortunately.
Re: Errors -
GreatLouis - 26.07.2016
Quote:
Originally Posted by Luis-
Those functions aren't used in MySQL R33 unfortunately.
|
Then how to get it fixed?
Re: Errors -
justjamie - 26.07.2016
Quote:
Originally Posted by GreatLouis
Then how to get it fixed?
|
just delete them
Re: Errors -
GreatLouis - 26.07.2016
Well, a guy named "Inn0cent" helped me to get it fixed. +rep!