SA-MP Forums Archive
any help? - 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: any help? (/showthread.php?tid=622471)



any help? - Thanks - 22.11.2016

I Started my server but when i check server.log i got This error can you help me? i Go To Gamemode and Type F5 No errors
Код:
[15:14:01] Script[gamemodes/cnr.amx]: Run time error 19: "File or function is not found"
[15:14:01] Number of vehicle models: 0



Re: any help? - RyderX - 22.11.2016

can you show me your server.cfg and your server log?


Re: any help? - Vince - 22.11.2016

Can you, like, read the whole log, please? I'm pretty sure that it'll say "Failed" for one or more plugins.


Re: any help? - Thanks - 22.11.2016

Sure.

SERVER.CFG
Код:
echo Executing Server Config...
lanmode 0
hostname RedRex's Cops And Robbers [0.3.7] [ultra-h.com]
weburl soon
mapname San Andreas
language English
password 123123
rcon_password Mah123321
maxplayers 20
bind 198.100.144.190
port 9880
maxnpc 14
rcon 0        
announce 1
query 1
lagcompmode 1
messageholelimit 3000
messageslimit 500
ackslimit 3000
gamemode0 cnr
filterscripts UltraHost
plugins streamer.so mysql.so libmysqlclient.so sscanf.so
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000
SERVER.LOG
Код:
SA-MP Dedicated Server
----------------------
v0.3.7-R2, ©2005-2015 SA-MP Team

[15:35:32] 
[15:35:32] Server Plugins
[15:35:32] --------------
[15:35:32]  Loading plugin: streamer.so
[15:35:32] 

*** Streamer Plugin v2.6.1 by Incognito loaded ***

[15:35:32]   Loaded.
[15:35:32]  Loading plugin: mysql.so
[15:35:32]  SA:MP MySQL Plugin v2.1.1 Loaded.
[15:35:32]   Loaded.
[15:35:32] [MySQL] Thread running. Threadsafe: Yes.
[15:35:32]  Loading plugin: sscanf.so
[15:35:32] 

[15:35:32]  ===============================

[15:35:32]       sscanf plugin loaded.     

[15:35:32]          Version:  2.8.1        

[15:35:32]    © 2012 Alex "******" Cole  

[15:35:32]  ===============================

[15:35:32]   Loaded.
[15:35:32]  Loaded 3 plugins.

[15:35:32] 
[15:35:32] Filterscripts
[15:35:32] ---------------
[15:35:32]   Loading filterscript 'UltraHost.amx'...
[15:35:32]   Loaded 1 filterscripts.

[15:35:32] Script[gamemodes/cnr.amx]: Run time error 19: "File or function is not found"
[15:35:32] Number of vehicle models: 0



Re: any help? - RyderX - 22.11.2016

maybe you're missing a plugin, that's why it gives you run time error, or maybe plugins version is outdated.


Re: any help? - Thanks - 22.11.2016

i used this include on gamemode

Код:
#include <a_samp>
#include <a_mysql>
#include "../include/gl_common.inc"



Re: any help? - SickAttack - 22.11.2016

Load nativechecker: https://sampforum.blast.hk/showthread.php?tid=249226