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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Run time error 19: "File or function is not found" (/showthread.php?tid=276120)



Run time error 19: "File or function is not found" - Malakay - 12.08.2011

Hi guys!

Well, when I start my server in console appears this.

Script[gamemodes/gamemode.amx]: Run time error 19: "File or function is not found"

Compile 100%
No Errors...

And I can enter in the server, but I don't have any commands (only rcon).
I have search, and nothing...


Re: Run time error 19: "File or function is not found" - grand.Theft.Otto - 12.08.2011

I guarantee you are missing a plugin, do you have a plugins folder ?


Re: Run time error 19: "File or function is not found" - Malakay - 12.08.2011

Quote:
Originally Posted by grand.Theft.Otto
Посмотреть сообщение
I guarantee you are missing a plugin, do you have a plugins folder ?
So, I have this.

LIBMYSQL
mysql
sscanf
streamer


Re: Run time error 19: "File or function is not found" - Jack_Leslie - 12.08.2011

Make sure all your plugins are in the "plugins" folder, and are the correct files. This happened to me one day but everything was working fine, but then it was because I was missing a file from scriptfiles that the script was trying to read. Go through every file that gets read, and make sure you have it. If you don't, delete the function or create the file.


Re: Run time error 19: "File or function is not found" - MadeMan - 12.08.2011

Show your server log.


Re: Run time error 19: "File or function is not found" - Malakay - 12.08.2011

Quote:
Originally Posted by Jack_Leslie
Посмотреть сообщение
Make sure all your plugins are in the "plugins" folder, and are the correct files. This happened to me one day but everything was working fine, but then it was because I was missing a file from scriptfiles that the script was trying to read. Go through every file that gets read, and make sure you have it. If you don't, delete the function or create the file.
They are all there, and updated.

Quote:
Originally Posted by MadeMan
Посмотреть сообщение
Show your server log.
Is normal, but there he go:

Код:
SA-MP Dedicated Server
----------------------
v0.3c R2, ©2005-2011 SA-MP Team

[15:05:59] filterscripts = ""  (string)
[15:05:59] 
[15:05:59] Server Plugins
[15:05:59] --------------
[15:05:59]  Loaded 0 plugins.

[15:05:59] 
[15:05:59] Filter Scripts
[15:05:59] ---------------
[15:05:59]   Loaded 0 filter scripts.

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

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

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

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

[15:12:33] 
[15:12:33] Filter Scripts
[15:12:33] ---------------
[15:12:33]   Loaded 0 filter scripts.

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



Re: Run time error 19: "File or function is not found" - MadeMan - 12.08.2011

Log shows that you don't load any plugins.

Do you have the plugins listed in server.cfg?


Re: Run time error 19: "File or function is not found" - grand.Theft.Otto - 12.08.2011

If you don't have a plugins line in server.cfg, add this:

plugins LIBMYSQL mysql sscanf streamer


Re: Run time error 19: "File or function is not found" - TouR - 12.08.2011

If you have linux make sure you are using the ".so" plugins


Re: Run time error 19: "File or function is not found" - Malakay - 12.08.2011

So, I have add in server.cfg and I get error when I start the server.

[18:11:51] Loading plugin: LIBMYSQL
[18:11:51] Plugin does not conform to architecture.