SA-MP Forums Archive
Run time error 19: "File or function is not found" - 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: Run time error 19: "File or function is not found" (/showthread.php?tid=302962)



Run time error 19: "File or function is not found" - aivarasz - 11.12.2011

Hello I have one problem and can't fixed can help my? Pawn compiler 100% no error.

Code:
----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3d-R2, ©2005-2011 SA-MP Team

[11:58:38] filterscripts = ""  (string)
[11:58:38] 
[11:58:38] Server Plugins
[11:58:38] --------------
[11:58:38]  Loading plugin: streamer
[11:58:38] 

*** Streamer Plugin v2.5.2 R2 by Incognito loaded ***

[11:58:38]   Loaded.
[11:58:38]  Loaded 1 plugins.

[11:58:38] 
[11:58:38] Filterscripts
[11:58:38] ---------------
[11:58:38]   Loaded 0 filterscripts.

[11:58:38] Script[gamemodes/CoolGamemode.amx]: Run time error 19: "File or function is not found"
[11:58:38] Number of vehicle models: 0
pawn Code:
#include <a_samp>
#include "../pawno/include/streamer.inc"
#include "../pawno/include/dini.inc"
#include "../pawno/include/sscanf2.inc"
#include "../pawno/include/Jobs.inc"
#include "../include/gl_common.inc"
Code:
echo Executing Server Config...
lanmode 0
rcon_password playground
maxplayers 32
port 7777
hostname SA-MP 0.3 Server
gamemode0 CoolGamemode 1
filterscripts
plugins streamer
announce 0
query 1
weburl www.sa-mp.com
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000
maxnpc 0
logtimeformat [%H:%M:%S]



Re: Run time error 19: "File or function is not found" - suhrab_mujeeb - 11.12.2011

in ur server.cfg
Code:
plugins streamer sscanf
So it looks something like this
Code:
echo Executing Server Config...
lanmode 0
rcon_password playground
maxplayers 32
port 7777
hostname SA-MP 0.3 Server
gamemode0 CoolGamemode 1
filterscripts
plugins streamer sscanf
announce 0
query 1
weburl www.sa-mp.com
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000
maxnpc 0
logtimeformat [%H:%M:%S]



Re: Run time error 19: "File or function is not found" - aivarasz - 11.12.2011

Quote:
Originally Posted by suhrab_mujeeb
View Post
in ur server.cfg
plugins streamer sscanf
Thanks man


Re: Run time error 19: "File or function is not found" - Tom Kingston - 17.07.2012

I got the same problem,tried the tip you gave @suhrab_mujeeb,but it didn't work.

pawn Code:
#include <a_samp>
#include <a_mysql>
#include <ZCMD>
Code:
echo Executing Server Config...
lanmode 0
rcon_password 1
maxplayers 32
port 7777
hostname SA-MP 0.3 Server
gamemode0 HellNo
filterscripts
plugins
announce 0
query 1
weburl www.sa-mp.com
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000
maxnpc 0
logtimeformat [%H:%M:%S]
and these are the craps from the log:
Code:
----------------------
Loaded log file: "server_log.txt".
----------------------
SA-MP Dedicated Server
----------------------
v0.3e, ©2005-2012 SA-MP Team

[12:16:53] filterscripts = ""  (string)
[12:16:53] plugins = ""  (string)
[12:16:53] 
[12:16:53] Server Plugins
[12:16:53] --------------
[12:16:53]  Loaded 0 plugins.

[12:16:53] 
[12:16:53] Filterscripts
[12:16:53] ---------------
[12:16:53]   Loaded 0 filterscripts.

[12:16:53] Script[gamemodes/HellNo.amx]: Run time error 19: "File or function is not found"
[12:16:53] Number of vehicle models: 0



Re: Run time error 19: "File or function is not found" - iPLEOMAX - 17.07.2012

@Tom Kingston

Add "mysql" to your plugins line in server.cfg