SA-MP Forums Archive
Problem with the PAWN compiler - 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: Problem with the PAWN compiler (/showthread.php?tid=324595)



Problem with the PAWN compiler - TheBetaFox - 10.03.2012

Hi.
The PAWN compiler often complains that specific things are not defined or do not exist, but they are in one of the includes. Moving the content to the gamemode doesn't help, either! Why is that, and what is wrong?


Re: Problem with the PAWN compiler - Shabi RoxX - 10.03.2012

Show Error :


Re: Problem with the PAWN compiler - TheBetaFox - 10.03.2012

I'm getting a different error every time I'm trying to do something!
But meh, here's the error I'm getting now:
Код:
<le path>\pawno\include\C-MySQL.inc(106) : error 017: undefined symbol "mysql_query"
Line 106 is in CMySQL_Exists. mysql_query is defined, as I have a_mysql included.


Re: Problem with the PAWN compiler - Shabi RoxX - 10.03.2012

You are not including a_mysql .

You are including C-MySQL not a_mysql.....
pawn Код:
#include <a_mysql>



Re: Problem with the PAWN compiler - TheBetaFox - 10.03.2012

Quote:
Originally Posted by Shabi RoxX
Посмотреть сообщение
You are not including a_mysql .

You are including C-MySQL not a_mysql.....
pawn Код:
#include <a_mysql>
I said that I have a_mysql included as well. Please re-read my post; I hate it when people are like that.


Re: Problem with the PAWN compiler - Calgon - 10.03.2012

Include a_mysql before C-MySQL.


Re: Problem with the PAWN compiler - TheBetaFox - 10.03.2012

Quote:
Originally Posted by Calgon
Посмотреть сообщение
Include a_mysql before C-MySQL.
It was included before C-MySQL already.


Re: Problem with the PAWN compiler - Calgon - 10.03.2012

Show us the code just to ensure it's retard proof and the same thing isn't said again?