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



Run time error 19: "File or function is not found" - CoachCarter - 23.03.2016

Hello samp I've been trying to run one gamemode for a while and I can't do it. It says "run time error all the time".

I updated every single include and plugin but it keeps giving me some function errors and I think because of that gamemode isn't running.

Код:
SA-MP Dedicated Server
----------------------
v0.3.7, ©2005-2015 SA-MP Team

[09:30:53] filterscripts = ""  (string)
[09:30:53] 
[09:30:53] Server Plugins
[09:30:53] --------------
[09:30:53]  Loading plugin: nativechecker
[09:30:53]   Loaded.
[09:30:53]  Loading plugin: streamer
[09:30:53] 

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

[09:30:53]   Loaded.
[09:30:53]  Loading plugin: sscanf
[09:30:53] 

[09:30:53]  ===============================

[09:30:53]       sscanf plugin loaded.     

[09:30:53]          Version:  2.8.1        

[09:30:53]    © 2012 Alex "******" Cole  

[09:30:53]  ===============================

[09:30:53]   Loaded.
[09:30:53]  Loading plugin: mysql
[09:30:53]  >> plugin.mysql: R39-4 successfully loaded.
[09:30:53]   Loaded.
[09:30:53]  Loaded 4 plugins.

[09:30:53] 
[09:30:53] Filterscripts
[09:30:53] ---------------
[09:30:53]   Loaded 0 filterscripts.

[09:30:53]    Error: Function not registered: 'SSCANF_Init'
[09:30:53]    Error: Function not registered: 'SSCANF_Join'
[09:30:53]    Error: Function not registered: 'SSCANF_Leave'
[09:30:53]    Error: Function not registered: 'mysql_format'
[09:30:53]    Error: Function not registered: 'mysql_tquery'
[09:30:53]    Error: Function not registered: 'mysql_escape_string'
[09:30:53]    Error: Function not registered: 'GetDynamicObjectPos'
[09:30:53]    Error: Function not registered: 'MoveDynamicObject'
[09:30:53]    Error: Function not registered: 'sscanf'
[09:30:53]    Error: Function not registered: 'cache_get_data'
[09:30:53]    Error: Function not registered: 'cache_get_row'
[09:30:53]    Error: Function not registered: 'CreateDynamicObject'
[09:30:53]    Error: Function not registered: 'IsValidDynamicObject'
[09:30:53]    Error: Function not registered: 'DestroyDynamicObject'
[09:30:53]    Error: Function not registered: 'cache_insert_id'
[09:30:53]    Error: Function not registered: 'Streamer_Update'
[09:30:53]    Error: Function not registered: 'EditDynamicObject'
[09:30:53]    Error: Function not registered: 'CreateDynamic3DTextLabel'
[09:30:53]    Error: Function not registered: 'DestroyDynamic3DTextLabel'
[09:30:53]    Error: Function not registered: 'cache_get_row_count'
[09:30:53]    Error: Function not registered: 'cache_get_field_content_int'
[09:30:53]    Error: Function not registered: 'cache_get_field_content_float'
[09:30:53]    Error: Function not registered: 'cache_get_field_content'
[09:30:53]    Error: Function not registered: 'SHA256_PassHash'
[09:30:53]    Error: Function not registered: 'TogglePlayerAllDynamicCPs'
[09:30:53]    Error: Function not registered: 'DestroyDynamicCP'
[09:30:53]    Error: Function not registered: 'CreateDynamicCP'
[09:30:53]    Error: Function not registered: 'IsValidDynamicPickup'
[09:30:53]    Error: Function not registered: 'DestroyDynamicPickup'
[09:30:53]    Error: Function not registered: 'CreateDynamicPickup'
[09:30:53]    Error: Function not registered: 'GetDynamicObjectRot'
[09:30:53]    Error: Function not registered: 'SetDynamicObjectMaterialText'
[09:30:53]    Error: Function not registered: 'Streamer_UpdateEx'
[09:30:53]    Error: Function not registered: 'SetDynamicObjectRot'
[09:30:53]    Error: Function not registered: 'SetDynamicObjectMaterial'
[09:30:53]    Error: Function not registered: 'IsValidDynamic3DTextLabel'
[09:30:53]    Error: Function not registered: 'IsValidDynamicMapIcon'
[09:30:53]    Error: Function not registered: 'DestroyDynamicMapIcon'
[09:30:53]    Error: Function not registered: 'CreateDynamicMapIcon'
[09:30:53]    Error: Function not registered: 'AttachDynamicObjectToVehicle'
[09:30:53]    Error: Function not registered: 'cache_get_row_int'
[09:30:53]    Error: Function not registered: 'IsPlayerInDynamicCP'
[09:30:53]    Error: Function not registered: 'TogglePlayerDynamicCP'
[09:30:53]    Error: Function not registered: 'mysql_connect'
[09:30:53]    Error: Function not registered: 'IsDynamicObjectMoving'
[09:30:53]    Error: Function not registered: 'Streamer_GetTickRate'
[09:30:53]    Error: Function not registered: 'Streamer_SetTickRate'
[09:30:53]    Error: Function not registered: 'Streamer_GetMaxItems'
[09:30:53]    Error: Function not registered: 'Streamer_SetMaxItems'
[09:30:53]    Error: Function not registered: 'Streamer_GetVisibleItems'
[09:30:53]    Error: Function not registered: 'Streamer_SetVisibleItems'
[09:30:53]    Error: Function not registered: 'Streamer_GetRadiusMultiplier'
[09:30:53]    Error: Function not registered: 'Streamer_SetRadiusMultiplier'
[09:30:53]    Error: Function not registered: 'Streamer_IsToggleCameraUpdate'
[09:30:53]    Error: Function not registered: 'Streamer_ToggleCameraUpdate'
[09:30:53]    Error: Function not registered: 'Streamer_IsToggleIdleUpdate'
[09:30:53]    Error: Function not registered: 'Streamer_ToggleIdleUpdate'
[09:30:53]    Error: Function not registered: 'mysql_pquery'
[09:30:53]    Error: Function not registered: 'Streamer_SetCellDistance'
[09:30:53]    Error: Function not registered: 'Streamer_VisibleItems'
[09:30:53]    Error: Function not registered: 'CountDynamicObjects'
[09:30:53]    Error: Function not registered: 'CountDynamicPickups'
[09:30:53]    Error: Function not registered: 'CountDynamicCPs'
[09:30:53]    Error: Function not registered: 'CountDynamicMapIcons'
[09:30:53]    Error: Function not registered: 'CountDynamic3DTextLabels'
[09:30:53]    Error: Function not registered: 'CreateDynamicRectangle'
[09:30:53]    Error: Function not registered: 'DestroyAllDynamicAreas'
[09:30:53]    Error: Function not registered: 'DestroyAllDynamic3DTextLabels'
[09:30:53]    Error: Function not registered: 'DestroyAllDynamicMapIcons'
[09:30:53]    Error: Function not registered: 'DestroyAllDynamicCPs'
[09:30:53]    Error: Function not registered: 'DestroyAllDynamicPickups'
[09:30:53]    Error: Function not registered: 'DestroyAllDynamicObjects'
[09:30:53]    Error: Function not registered: 'mysql_close'
[09:30:53]    Error: Function not registered: 'GetPlayerVisibleDynamicCP'
[09:30:53] Script[gamemodes/Compile.amx]: Run time error 19: "File or function is not found"
[09:30:53] Number of vehicle models: 0
I updated every plugin and include, recompiled the pwn and etc. I can't find the solution to the problem.


Re: Run time error 19: "File or function is not found" - AndySedeyn - 23.03.2016

The nativechecker plugin must be loaded last. Change the loading order of the plugins in the server configuration file.

Example:
Код:
plugins sscanf Whirlpool streamer nativechecker



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

Why does everyone run this nativechecker, and not read the instructions for its use?

Let alone search the forums, as I swear, every week, the same "problem" gets posted about...