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=653855)



Run time error 19: "File or function is not found" - Jaua10 - 14.05.2018

Hey guys how are you? I'm new in this language, when i compile my server there is not errors or warnings but when i try to join in my server, no command works for me, when i see the server log its says this.

Код:
----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3.7-R2, ©2005-2015 SA-MP Team

[18:11:50] filterscripts = ""  (string)
[18:11:50] 
[18:11:50] Server Plugins
[18:11:50] --------------
[18:11:50]  Loaded 0 plugins.

[18:11:50] 
[18:11:50] Filterscripts
[18:11:50] ---------------
[18:11:50]   Loaded 0 filterscripts.

[18:11:50] Script[gamemodes/Oficial.amx]: Run time error 19: "File or function is not found"
[18:11:50] Number of vehicle models: 0
here i dont have errors:

Код HTML:
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase
but when i join into my server always CJ is falling from the sky and i can t use any command, can you help me pls?


Re: Run time error 19: "File or function is not found" - Sew_Sumi - 14.05.2018

You're missing the plugins the gamemode needs.

Revisit the release, list the top <include> lines or install NativeChecker to figure out which ones you are missing.


Post up the include lines as a simple quick start.


Re: Run time error 19: "File or function is not found" - Jaua10 - 14.05.2018

With nativechecker now take a look:

Код:
----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3.7-R2, ©2005-2015 SA-MP Team

[18:54:59] filterscripts = ""  (string)
[18:54:59] 
[18:54:59] Server Plugins
[18:54:59] --------------
[18:54:59]  Loading plugin: crashdetect
[18:54:59]   CrashDetect v4.15.1 is OK.
[18:54:59]   Loaded.
[18:54:59]  Loading plugin: streamer
[18:54:59] 

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

[18:54:59]   Loaded.
[18:54:59]  Loading plugin: sscanf
[18:54:59] 

[18:54:59]  ===============================

[18:54:59]       sscanf plugin loaded.     

[18:54:59]          Version:  2.8.1        

[18:54:59]    © 2012 Alex "******" Cole  

[18:54:59]  ===============================

[18:54:59]   Loaded.
[18:54:59]  Loading plugin: nativechecker
[18:54:59]   Loaded.
[18:54:59]  Loaded 4 plugins.

[18:54:59] 
[18:54:59] Filterscripts
[18:54:59] ---------------
[18:54:59]   Loaded 0 filterscripts.

[18:54:59]  
[18:54:59]  ======================================= 
[18:54:59]  |                                     | 
[18:54:59]  |        YSI version 1.03.0011        | 
[18:54:59]  |        By Alex "******" Cole        | 
[18:54:59]  |                                     | 
[18:54:59]  |  Checking the latest YSI version..  | 
[18:54:59]  |                                     | 
[18:54:59]  ======================================= 
[18:54:59]  
[18:54:59] 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[18:54:59] ~                          ~
[18:54:59] ~   WELCOME MR. JAUA       ~
[18:54:59] ~                          ~
[18:54:59] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[18:54:59] Number of vehicle models: 16
[18:55:00]  
[18:55:00]  ======================================= 
[18:55:00]  |                                     | 
[18:55:00]  |   Error: Could not connect to YSI   | 
[18:55:00]  |  update server (response was 404).  | 
[18:55:00]  |                                     | 
[18:55:00]  ======================================= 
[18:55:00]



Re: Run time error 19: "File or function is not found" - 1fret - 15.05.2018

You are missing some form of plugin as Sew_Sumi said also there is an issue with your YSI plugin


Re: Run time error 19: "File or function is not found" - Sew_Sumi - 15.05.2018

Those plugins didn't load before, but now they are. So they are fine now.


That YSI is WELL out of date, as that's over 4 now. If your gamemode has been using that version chances it's going to need a lot of updating.