SA-MP Forums Archive
Wierd MySQL bug? - 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: Wierd MySQL bug? (/showthread.php?tid=306816)



Wierd MySQL bug? - sampmark05 - 28.12.2011

../include/g_mysql.inc(42 : warning 235: public function lacks forward declaration (symbol "OnQueryError")
C:\Documents and Settings\Mark&Matt\My Documents\MyRoleplay\gamemodes\MyRp.pwn(72364) : error 017: undefined symbol "Get3DZone"
C:\Documents and Settings\Mark&Matt\My Documents\MyRoleplay\gamemodes\MyRp.pwn(72364) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Mark&Matt\My Documents\MyRoleplay\gamemodes\MyRp.pwn(72364) : error017: undefined symbol "Get3DZone"
C:\Documents and Settings\Mark&Matt\My Documents\MyRoleplay\gamemodes\MyRp.pwn(72364) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Mark&Matt\My Documents\MyRoleplay\gamemodes\MyRp.pwn(72364) : error 017: undefined symbol "Get3DZone"
C:\Documents and Settings\Mark&Matt\My Documents\MyRoleplay\gamemodes\MyRp.pwn(72364) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Mark&Matt\My Documents\MyRoleplay\gamemodes\MyRp.pwn(72364) : error 017: undefined symbol "Get3DZone"
C:\Documents and Settings\Mark&Matt\My Documents\MyRoleplay\gamemodes\MyRp.pwn(72364) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Mark&Matt\My Documents\MyRoleplay\gamemodes\MyRp.pwn(72364) : error 017: undefined symbol "Get3DZone"
C:\Documents and Settings\Mark&Matt\My Documents\MyRoleplay\gamemodes\MyRp.pwn(72364) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


5 Errors.

how can i fix this?


Re: Wierd MySQL bug? - Mini` - 28.12.2011

Why is this a MySQL bug?
Post line 72364 for us...
You've obviously not defined a variable, and have messed up some sort native(i think?) function's parameters.


Re: Wierd MySQL bug? - sampmark05 - 28.12.2011

how to fiz this ../include/g_mysql.inc(42 : warning 235: public function lacks forward declaration (symbol "OnQueryError")


Re: Wierd MySQL bug? - JamesC - 28.12.2011

You're using a different MySQL plugin. OnQueryError is only available in BlueG's plugin. If you're using StrikenKid's plugin, you need to use OnMysqlError.


Re: Wierd MySQL bug? - Mini` - 28.12.2011

Edit: Nevermind. I know nothing about g_mysql.inc, therefore my response is limited.


Re: Wierd MySQL bug? - sampmark05 - 28.12.2011

thanks it works ))))