SA-MP Forums Archive
mysql error - 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: mysql error (/showthread.php?tid=328023)



mysql error - Baboon - 23.03.2012

Quote:

C:\Users\Timothy\Desktop\pirates\gamemodes\onepiec e.pwn(2062) : error 017: undefined symbol "mysql_query"
C:\Users\Timothy\Desktop\pirates\gamemodes\onepiec e.pwn(2079) : error 017: undefined symbol "mysql_query"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


2 Errors.

Got the latest files and this is what happens... when I want to compile -_-
using gstylezz


Re: mysql error - BrandyPenguin - 23.03.2012

MySQL plugin version?
When you use R7:
put that on your script after include.
pawn Код:
#define mysql_query(%1,%2,%3,%4) \
    mysql_function_query(%4, %1, false, "OnQueryFinish", "siii", %1, %2, %3, %4)



Re: mysql error - Baboon - 23.03.2012

didnt fix it, I replaced it, but it was exactly the same...
Also tried to put it in the end, it didnt work out