SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 26/07/2016, 09:13 AM   #1
GreatLouis
Little Clucker
 
Join Date: Jul 2016
Posts: 34
Reputation: 0
Default Errors

I was compiling West Coast RolePlay script with mysqlr33, but I get these errors:-
PHP Code:
error.pwn(863) : error 017undefined symbol "mysql_debug"
error.pwn(865) : error 017undefined symbol "enable_mutex"
error.pwn(952) : error 017undefined 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.
GreatLouis is offline   Reply With Quote
Old 26/07/2016, 09:30 AM   #2
Luis-
High-roller
 
Luis-'s Avatar
 
Join Date: Jan 2010
Location: England
Posts: 3,934
Reputation: 420
Default Re: Errors

Those functions aren't used in MySQL R33 unfortunately.
__________________
Luis- is offline   Reply With Quote
Old 26/07/2016, 09:36 AM   #3
GreatLouis
Little Clucker
 
Join Date: Jul 2016
Posts: 34
Reputation: 0
Default Re: Errors

Quote:
Originally Posted by Luis- View Post
Those functions aren't used in MySQL R33 unfortunately.
Then how to get it fixed?
GreatLouis is offline   Reply With Quote
Old 26/07/2016, 09:42 AM   #4
justjamie
Huge Clucker
 
Join Date: May 2014
Posts: 424
Reputation: 5
Default Re: Errors

Quote:
Originally Posted by GreatLouis View Post
Then how to get it fixed?
just delete them
justjamie is offline   Reply With Quote
Old 26/07/2016, 10:12 AM   #5
GreatLouis
Little Clucker
 
Join Date: Jul 2016
Posts: 34
Reputation: 0
Default Re: Errors

Well, a guy named "Inn0cent" helped me to get it fixed. +rep!
GreatLouis is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Pawn Compiling errors, Errors and Line are inside [ +REP ] EgyptForLife Scripting Help 8 19/07/2014 08:26 PM
[S-HELP] Compiling errors, Errors and Lines inside. EgyptForLife Scripting Help 3 16/07/2014 07:56 PM
Class Errors: loose indentation (2 Errors) DerickClark Scripting Help 18 22/02/2014 08:01 PM
[ERRORS] Errors appear after adding a Gang System. ••• ĤÁĶÁM ••• Help Archive 17 27/10/2010 05:19 PM
Common compiling errors - READ BEFORE POSTING ERRORS Streetplaya Help Archive 0 23/01/2010 11:20 AM


All times are GMT. The time now is 01:52 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.