Please Help me !!
#1

4. You must add the MySQL library to the same directory as your server.cfg and the server starting file. This file is libmysql.dll if you are using windows or libmysqlclient.so.15 if you are using Linux. If you are running linux and you are missing the file then download it from the MySQL thread on sa-mp forums https://sampforum.blast.hk/showthread.php?tid=56564

5. Lastly, you must edit your server.cfg. You must add tkadmin to the end of your filterscripts line. You must also add the plugins to config. If you are using windows, all you have to add is "plugins mysql whirlpool sscanf" (Take off the quotes). If you are using linux, you have to add them with the .so extension on the

__________________________________________
echo Executing Server Config...
lanmode 0
rcon_password a12345
maxplayers 32
port 7777
hostname SA-MP 0.3 Server
gamemode0 MySQL
filterscripts tkadmin
announce 1
query 1
weburl www.sa-mp.com
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000
maxnpc 20
logtimeformat [%H:%M:%S]
plugins mysql sscanf streamer

i am confused where i need put libmySQL.dll on server.cfg
Reply
#2

Add the file libmySQL.dll on the folder where the samp-server.exe and server.cfg are located.
Reply
#3

You don't need to add the libmySQL.dll to server.cfg, but you do need to add the mysql plugin that located int he plugin folder. the plugin will communicate with the libmySQL.dll file by its self.

Hope this helps
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)