open.mp forum
[Plugin] How to Fix this Run time error 19: "File or function is not found" - Printable Version

+ open.mp forum (https://forum.open.mp)
-- Forum: SA-MP (https://forum.open.mp/forumdisplay.php?fid=3)
--- Forum: Pawn Scripting (https://forum.open.mp/forumdisplay.php?fid=10)
--- Thread: [Plugin] How to Fix this Run time error 19: "File or function is not found" (/showthread.php?tid=1584)



How to Fix this Run time error 19: "File or function is not found" - nocode - 2021-01-23

server.cfg:?https://prnt.sc/xhwnwi
plugins:?https://prnt.sc/xhwp60
?

Code:
[05:57:34]

[05:57:34] Server Plugins

[05:57:34] --------------

[05:57:34]? Loaded 0 plugins.



[05:57:34] I couldn't load any gamemode scripts. Please verify your server.cfg

[05:57:34] It needs a gamemode0 line at the very least.



----------

Loaded log file: "server_log.txt".

----------



SA-MP Dedicated Server

----------------------

v0.3.7-R2, (C)2005-2015 SA-MP Team



[05:57:37]

[05:57:37] Server Plugins

[05:57:37] --------------

[05:57:37]? Loaded 0 plugins.



[05:57:37] I couldn't load any gamemode scripts. Please verify your server.cfg

[05:57:37] It needs a gamemode0 line at the very least.



----------

Loaded log file: "server_log.txt".

----------



SA-MP Dedicated Server

----------------------

v0.3.7-R2, (C)2005-2015 SA-MP Team



[05:57:40]

[05:57:40] Server Plugins

[05:57:40] --------------

[05:57:40]? Loaded 0 plugins.



[05:57:40] I couldn't load any gamemode scripts. Please verify your server.cfg

[05:57:40] It needs a gamemode0 line at the very least.



----------

Loaded log file: "server_log.txt".

----------



SA-MP Dedicated Server

----------------------

v0.3.7-R2, (C)2005-2015 SA-MP Team



[05:57:43]

[05:57:43] Server Plugins

[05:57:43] --------------

[05:57:43]? Loaded 0 plugins.



[05:57:43] I couldn't load any gamemode scripts. Please verify your server.cfg

[05:57:43] It needs a gamemode0 line at the very least.



----------

Loaded log file: "server_log.txt".

----------



SA-MP Dedicated Server

----------------------

v0.3.7-R2, (C)2005-2015 SA-MP Team



[05:57:46] filterscripts = ""? (string)

[05:57:46]

[05:57:46] Server Plugins

[05:57:46] --------------

[05:57:46]? Loaded 0 plugins.



[05:57:46]

[05:57:46] Filterscripts

[05:57:46] ---------------

[05:57:46]? Loaded 0 filterscripts.



[05:57:46] Script[gamemodes/CODMW3.amx]: Run time error 19: "File or function is not found"

[05:57:46] Number of vehicle models: 0



----------

Loaded log file: "server_log.txt".

----------



SA-MP Dedicated Server

----------------------

v0.3.7-R2, (C)2005-2015 SA-MP Team



[05:57:53] filterscripts = ""? (string)

[05:57:53]

[05:57:53] Server Plugins

[05:57:53] --------------

[05:57:53]? Loaded 0 plugins.



[05:57:53]

[05:57:53] Filterscripts

[05:57:53] ---------------

[05:57:53]? Loaded 0 filterscripts.



[05:57:53] Script[gamemodes/CODMW3.amx]: Run time error 19: "File or function is not found"

[05:57:53] Number of vehicle models: 0



RE: How to Fix this Run time error 19: "File or function is not found" - RhaegarX - 2021-01-23

maybe it's because the name "plugins" is capitalized 'Plugins', put it in lowercase and check each plugin.


RE: How to Fix this Run time error 19: "File or function is not found" - CrypticSin - 2021-03-28

(2021-01-23, 11:04 AM)nocode Wrote: server.cfg:?https://prnt.sc/xhwnwi

plugins:?https://prnt.sc/xhwp60

?



Code:
[05:57:34]



[05:57:34] Server Plugins



[05:57:34] --------------



[05:57:34]? Loaded 0 plugins.







[05:57:34] I couldn't load any gamemode scripts. Please verify your server.cfg



[05:57:34] It needs a gamemode0 line at the very least.







----------



Loaded log file: "server_log.txt".



----------







SA-MP Dedicated Server



----------------------



v0.3.7-R2, (C)2005-2015 SA-MP Team







[05:57:37]



[05:57:37] Server Plugins



[05:57:37] --------------



[05:57:37]? Loaded 0 plugins.







[05:57:37] I couldn't load any gamemode scripts. Please verify your server.cfg



[05:57:37] It needs a gamemode0 line at the very least.







----------



Loaded log file: "server_log.txt".



----------







SA-MP Dedicated Server



----------------------



v0.3.7-R2, (C)2005-2015 SA-MP Team







[05:57:40]



[05:57:40] Server Plugins



[05:57:40] --------------



[05:57:40]? Loaded 0 plugins.







[05:57:40] I couldn't load any gamemode scripts. Please verify your server.cfg



[05:57:40] It needs a gamemode0 line at the very least.







----------



Loaded log file: "server_log.txt".



----------







SA-MP Dedicated Server



----------------------



v0.3.7-R2, (C)2005-2015 SA-MP Team







[05:57:43]



[05:57:43] Server Plugins



[05:57:43] --------------



[05:57:43]? Loaded 0 plugins.







[05:57:43] I couldn't load any gamemode scripts. Please verify your server.cfg



[05:57:43] It needs a gamemode0 line at the very least.







----------



Loaded log file: "server_log.txt".



----------







SA-MP Dedicated Server



----------------------



v0.3.7-R2, (C)2005-2015 SA-MP Team







[05:57:46] filterscripts = ""? (string)



[05:57:46]



[05:57:46] Server Plugins



[05:57:46] --------------



[05:57:46]? Loaded 0 plugins.







[05:57:46]



[05:57:46] Filterscripts



[05:57:46] ---------------



[05:57:46]? Loaded 0 filterscripts.







[05:57:46] Script[gamemodes/CODMW3.amx]: Run time error 19: "File or function is not found"



[05:57:46] Number of vehicle models: 0







----------



Loaded log file: "server_log.txt".



----------







SA-MP Dedicated Server



----------------------



v0.3.7-R2, (C)2005-2015 SA-MP Team







[05:57:53] filterscripts = ""? (string)



[05:57:53]



[05:57:53] Server Plugins



[05:57:53] --------------



[05:57:53]? Loaded 0 plugins.







[05:57:53]



[05:57:53] Filterscripts



[05:57:53] ---------------



[05:57:53]? Loaded 0 filterscripts.







[05:57:53] Script[gamemodes/CODMW3.amx]: Run time error 19: "File or function is not found"



[05:57:53] Number of vehicle models: 0



Go into your server.cfg file and make sure you have included all the plugins in the plugin section of that file.?

So in your actual server folder, you should have a "plugins" folder,?whatever plugins you have in the "plugins" folder make sure you add?them inside server.cfg file.



I had same problem few days ago and this fixed it.


RE: How to Fix this Run time error 19: "File or function is not found" - Snow - 2021-03-28

Look in your server.cfg, It says Plugins. Change it to plugins.


RE: How to Fix this Run time error 19: "File or function is not found" - DandoRYx - 2021-03-28

you have 2 times sscanf there, I don't think that's the problem, but I wouldn't have it here


RE: How to Fix this Run time error 19: "File or function is not found" - PutuSuhartawan - 2021-03-29

The gamemodes/CODMW3.amx need be compiled with no error.

change in server.cfg from Plugins to plugins.