Help with samp_mysql_query
#1

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 ?
Reply
#2

add this

#include <a_sampdb>

and only so use sqlite functions )
Reply
#3

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

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
Reply
#5

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?
Reply
#6

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 ) )
Reply
#7

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

thanks guys, everything works now
Reply
#8

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
Reply
#9

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...?
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)