SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 03/09/2015, 02:07 PM   #1
Nucky
Big Clucker
 
Nucky's Avatar
 
Join Date: Jul 2012
Posts: 68
Reputation: 0
Default Run time error 19: "File or function is not found"

It has been a long time since I was doing Pawn scripting, so I'm kinda back to a fresh start.
Anyway, I tried loading my script from 0.3z or 0.3e (I don't remember the version) and eventually it started to give me this error and did not want to load my plugins.

All my plugins are failing to load and I get this error msg.

Code:
SA-MP Dedicated Server
----------------------
v0.3.7-R2, (C)2005-2015 SA-MP Team

[16:03:11] filterscripts = ""  (string)
[16:03:11] 
[16:03:11] Server Plugins
[16:03:11] --------------
[16:03:11]  Loading plugin: streamer.so
[16:03:11]   Failed.
[16:03:11]  Loading plugin: mysql.so
[16:03:11]   Failed.
[16:03:11]  Loading plugin: irc.so
[16:03:11]   Failed.
[16:03:11]  Loading plugin: sscanf.so
[16:03:11]   Failed.
[16:03:11]  Loaded 0 plugins.

Script [gamemodes/gamemode.amx]: Run time error 19: "File or function is not found"
I've tried to look for answers, .pwn sucessfully compiled and I've tried updating streamer.so but then I messed up everything. Currently I'm running the server local on my computer to test it before I buy a gameserver.
Nucky is offline   Reply With Quote
Old 03/09/2015, 02:32 PM   #2
lanix
Big Clucker
 
lanix's Avatar
 
Join Date: Dec 2014
Location: Croatia
Posts: 157
Reputation: 3
Default Re: Run time error 19: "File or function is not found"

use nativechecker to check errors
__________________
Simple Anticheat: http://forum.sa-mp.com/showthread.php?t=570399
lanix is offline   Reply With Quote
Old 03/09/2015, 02:39 PM   #3
CoachCarter
Big Clucker
 
CoachCarter's Avatar
 
Join Date: Feb 2015
Posts: 171
Reputation: 145
Default Re: Run time error 19: "File or function is not found"

Try upgrading every single plugin and check if plugins are included insinde the .cfg file
CoachCarter is offline   Reply With Quote
Old 03/09/2015, 03:11 PM   #4
Michael B
High-roller
 
Michael B's Avatar
 
Join Date: Oct 2014
Location: Romania
Posts: 1,004
Reputation: 127
Default Re: Run time error 19: "File or function is not found"

I assume that your OS is Windows, as you stated that you're running the server locally. As far as I see, you're trying to run plugins in .so format on your Windows OS. .so files are meant for Linux use, therefore, you will have to switch your plugins to .dll format.
__________________
Michael B is offline   Reply With Quote
Old 03/09/2015, 03:15 PM   #5
Nucky
Big Clucker
 
Nucky's Avatar
 
Join Date: Jul 2012
Posts: 68
Reputation: 0
Default Re: Run time error 19: "File or function is not found"

Solved. I forgot to change from .so to .dll in the config. Thanks, rep+ to you.

Last edited by Nucky; 03/09/2015 at 03:59 PM.
Nucky is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
gamemode problem: Run time error 19: "File or function is not found" GoHaN7 Scripting Help 1 07/03/2012 04:05 PM
Script[gamemodes/cnr.amx]: Run time error 19: "File or function is not found" xxxDunecatxxx Help Archive 8 17/11/2010 07:02 AM
Run time error 19: " File on function is not found" With MySQL Server Cremater Server Support 3 27/07/2010 04:17 AM
"Run time error 19: "File or function is not found" TouR Help Archive 2 18/06/2010 10:04 AM


All times are GMT. The time now is 12:35 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.