SA-MP Forums Archive
Include not working? - 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: Include not working? (/showthread.php?tid=386250)



Include not working? - thefatshizms - 19.10.2012

Hi i had a problem today, after adding some code (valid code, code that wouldnt return errors) a little dialog thing poped up and said something like it cant create a file or save this pwn file for some reason. So i redownloaded samp server package put everything needed in it compiled the gamemode and i got this

Код:
C:\Users\iphone\Desktop\Pawn\gamemodes\Sfcnr.pwn(1974) : error 017: undefined symbol "mysql_query"
C:\Users\iphone\Desktop\Pawn\gamemodes\Sfcnr.pwn(2019) : error 017: undefined symbol "mysql_query"
C:\Users\iphone\Desktop\Pawn\gamemodes\Sfcnr.pwn(2034) : error 017: undefined symbol "mysql_query"
C:\Users\iphone\Desktop\Pawn\gamemodes\Sfcnr.pwn(2052) : error 017: undefined symbol "mysql_query"
C:\Users\iphone\Desktop\Pawn\gamemodes\Sfcnr.pwn(3029) : error 017: undefined symbol "mysql_query"
C:\Users\iphone\Desktop\Pawn\gamemodes\Sfcnr.pwn(3060) : error 017: undefined symbol "mysql_query"
C:\Users\iphone\Desktop\Pawn\gamemodes\Sfcnr.pwn(3841) : error 017: undefined symbol "mysql_query"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


7 Errors.
I have the plugin in my .cfg and included in my gamemode


Re: Include not working? - HyDrAtIc - 19.10.2012

do you have

Код:
#include <mysql>
?


EDITED


Re: Include not working? - lorizz - 19.10.2012

Quote:
Originally Posted by James_Nick
Посмотреть сообщение
do you have

Код:
#include mysql
?
wrong it's
Код:
#include <a_mysql>



Re: Include not working? - thefatshizms - 19.10.2012

Wrong :P #include <a_mysql>
im using blue g's plugin

And yes of course i have


Re: Include not working? - lorizz - 19.10.2012

Quote:
Originally Posted by thefatshizms
Посмотреть сообщение
Wrong :P #include <a_mysql>
im using blue g's plugin

And yes of course i have
the f*ck I said? go read xD


Re: Include not working? - HyDrAtIc - 19.10.2012

Quote:
Originally Posted by lorizz
Посмотреть сообщение
the f*ck I said? go read xD
He was saying to me....


anyway try to re-update your a_mysql include.


Re: Include not working? - thefatshizms - 19.10.2012

-_- can someone help please...

EDIT: didnt see post above.. let me try


Re: Include not working? - thefatshizms - 19.10.2012

Guess it just needed updating! All fixed naw braws


Re: Include not working? - Simplyfrag - 19.10.2012

try added #include <a_mysql> if not working reply back


Re: Include not working? - C00K13M0N$73R - 19.10.2012

Quote:
Originally Posted by Simplyfrag
Посмотреть сообщение
try added #include <a_mysql> if not working reply back
Quote:
Originally Posted by thefatshizms
Посмотреть сообщение
Guess it just needed updating! All fixed naw braws
....