"File or function is not found" error
#1

Hello Brothers!

I think most of you know this problem ((Read the title))
and this error comes from plugins, but my problem is when I
start the server ((click on Start-Server)) the plugin ''audio.dll'' deleted automatically. I tried several times to copy it in the folder and try again, but I did not succeed, so can you please help me?

Код:
[14:00:57] Script[gamemodes/myserver.amx]: Run time error 19: "File or function is not found"
[14:00:57] Number of vehicle models: 0
Reply
#2

There is a plugin missing, post server.cfg too.
Reply
#3

i've got the same problem but when i run it in HomeHost works fine but when on Volt Host i've got a problem and yes i'm using .os on volt host
Reply
#4

You 2 must create a folder called "plugins" in the server's main folder, and then upload the FSs you use.
Reply
#5

Quote:
Originally Posted by DiGiTaL_AnGeL
Посмотреть сообщение
There is a plugin missing, post server.cfg too.
I know that audio.dll missing because when I start the server this plugin auto-deleted, I do not know why. [By the way] days ago, I tried to disable the antivirus and it works correctly, but now no more
Reply
#6

Make sure to add .so after plugin name on linux, so the line in server cfg looks like this:

Код:
plugins mysql.so whirlpoo.so blabla.so
It's not needed to add ".dll" in windows, but you must add ".so" on linux.

Quote:
Originally Posted by Heni
Посмотреть сообщение
I know that audio.dll missing because when I start the server this plugin auto-deleted, I do not know why. [By the way] days ago, I tried to disable the antivirus and it works correctly, but now no more
.dll? you must use .so plugins on linux
Reply
#7

Have you that on top of your script?

Код:
main( ) { }
Reply
#8

I'm using Windows and i added the plugins in server.cfg
Код:
plugins audio.dll sscanf.dll streamer.dll
Logs ?

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

[17:01:57] 
[17:01:57] Server Plugins
[17:01:57] --------------
[17:01:57]  Loading plugin: audio.dll
[17:01:57]   Failed.
[17:01:57]  Loading plugin: sscanf.dll
[17:01:57] 

[17:01:57]  ===============================

[17:01:57]       sscanf plugin loaded.     

[17:01:57]          Version:  2.8.1        

[17:01:57]    © 2012 Alex "******" Cole  

[17:01:57]  ===============================

[17:01:57]   Loaded.
[17:01:57]  Loading plugin: streamer.dll
[17:01:57] 

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

[17:01:57]   Loaded.
[17:01:57]  Loaded 2 plugins.

[17:01:57] 
[17:01:57] Filterscripts
[17:01:57] ---------------
[17:01:57]   Loading filterscript 'buttons.amx'...
[17:01:57]   Loading filterscript 'anims.amx'...
[17:01:58]   Loaded 2 filterscripts.

[17:01:58] Script[gamemodes/myserver.amx]: Run time error 19: "File or function is not found"
[17:01:58] Number of vehicle models: 0
Reply
#9

Quote:
Originally Posted by Blackazur
Посмотреть сообщение
Have you that on top of your script?

Код:
main( ) { }
Sure

Код:
main()
{
	print(" ");
	print("-------------------------------------------");
	print("Loading...");
	print("Welcome to my server name");
	print("-------------------------------------------");
	print(" ");
}
Reply
#10

Check it out Tho.
It can help you!
https://sampforum.blast.hk/showthread.php?tid=408940
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)