SA-MP Forums Archive
Help with samp_mysql_query - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Help with samp_mysql_query (/showthread.php?tid=77756)



Help with samp_mysql_query - Exclude - 14.05.2009

hey... i got a problem with samp_mysql_query function.
when i put it inside the script, and i try to run the server i get error:
Quote:

Script[gamemodes/csrp.amx]: Run time error 19: "File or function is not found"

any idea how to fix this ?


Re: Help with samp_mysql_query - MX_Master - 14.05.2009

add this

#include <a_sampdb>

and only so use sqlite functions )


Re: Help with samp_mysql_query - Exclude - 14.05.2009

so now i will have to converte everything i made into SQLite?


Re: Help with samp_mysql_query - Think - 14.05.2009

download the mysql plugin and add it to your server.cfg

Quote:
Originally Posted by MX_Master (!) gta.kz
add this

#include <a_sampdb>

and only so use sqlite functions )
this isn't his solution


Re: Help with samp_mysql_query - Exclude - 14.05.2009

hey, there is some dll file i need to download..?
cuz in this website: http://lostgangwarz.free.fr/samp_mysql_fr.php
i see that i need to download some dll files... but how do i use it?


Re: Help with samp_mysql_query - Think - 14.05.2009

Quote:
Originally Posted by Exclude
hey, there is some dll file i need to download..?
cuz in this website: http://lostgangwarz.free.fr/samp_mysql_fr.php
i see that i need to download some dll files... but how do i use it?
put libmysql.dll in your server folder (@ samp-server.exe) and put sampmysql.dll in your plugins folder and this line to server.cfg: plugins sampmysql.dll ( for windows else dont download libmysql.dll and just do the same but than replace the .dll with .so (for linux ) )


Re: Help with samp_mysql_query - Exclude - 14.05.2009

where can i get the libmysql.dll files... its missing.
EDIT: FOUND it

thanks guys, everything works now


Re: Help with samp_mysql_query - meegan1 - 13.06.2009

Quote:
Originally Posted by Exclude
where can i get the libmysql.dll files... its missing.
EDIT: FOUND it

thanks guys, everything works now
where was it


Re: Help with samp_mysql_query - Diehard335 - 29.06.2009

Quote:
Originally Posted by meegan1
Quote:
Originally Posted by Exclude
where can i get the libmysql.dll files... its missing.
EDIT: FOUND it

thanks guys, everything works now
where was it
diddo...?