Two errors while running samp-server.exe
#1

Hi,
While trying to run a server, I get these errors :

First error
Код:
Server plugins
--------------
Loading plugin: sampmysql
Failed.
Loaded 0 plugins.
Second error
Код:
Script[gamemodes/mtrp-final.amx]: Run time error 19: "File or function is not found"
This is my configuration :
Код:
echo Executing Server Config...
lanmode 0
rcon_password testpass
maxplayers 50
port 7777
hostname Testserver
gamemode0 mtrp-final
filterscripts
announce 0
query 1
weburl www.sa-mp.com
maxnpc 0
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000
plugins sampmysql
Plugin "sampmysql.dll" is in "include" folder
Plugin "libmysql.dll" is in main folder ( With samp-server.exe )
File "mtrp-final.amx" is in "gamemodes" folder, with 0 compilation errors/warnings.

Where is the problem?

Thanks
Reply
#2

Obviously, you've done something wrong with sql library,

the second problem well i think adding:

main();
{
}
would work.
Reply
#3

sampmysql.dll does not go in the include folder. You need to create a folder in the main directory called plugins, hence that's why in the server.cfg file you have plugins sampmysql
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)