SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 17/08/2012, 01:55 PM   #1
Josh_Main
Huge Clucker
 
Josh_Main's Avatar
 
Join Date: Mar 2012
Location: Exclusive Gaming
Posts: 443
Reputation: 12
Default Error 19; Runtime error: File or function cannot be found.

I knew how to fix this a while ago, but I stopped scripting and iv'e completely forgot what the problem is. I run my script and i get "Runtime error, file or function cannot be found". Iv'e changed my streamer and all my plugins to .dll and everything to .dll, i have the gamemode defined in .cfg. I just can't remember haha. Can someone please help?
__________________

104.192.227.106:8630
Hosted by Evolution Servers

Apocalypse Z Roleplay - Half roleplay, half zombie apocalypse roleplay

My work
[Filterscript] Gun Store Dialog

Josh_Main is offline   Reply With Quote
Old 17/08/2012, 01:56 PM   #2
Benzke
Banned
 
Join Date: Mar 2012
Posts: 133
Reputation: 10
Default Re: Error 19; Runtime error: File or function cannot be found.

Update your plugins or use nativechecker to find it.
Benzke is offline   Reply With Quote
Old 17/08/2012, 01:58 PM   #3
RanSEE
Huge Clucker
 
RanSEE's Avatar
 
Join Date: Apr 2011
Posts: 354
Reputation: 57
Default Re: Error 19; Runtime error: File or function cannot be found.

Did you compile your gamemode after updating your plugins and .inc ?
__________________
RanSEE is offline   Reply With Quote
Old 17/08/2012, 01:58 PM   #4
Josh_Main
Huge Clucker
 
Josh_Main's Avatar
 
Join Date: Mar 2012
Location: Exclusive Gaming
Posts: 443
Reputation: 12
Default Re: Error 19; Runtime error: File or function cannot be found.

Yep I did compile it
__________________

104.192.227.106:8630
Hosted by Evolution Servers

Apocalypse Z Roleplay - Half roleplay, half zombie apocalypse roleplay

My work
[Filterscript] Gun Store Dialog

Josh_Main is offline   Reply With Quote
Old 17/08/2012, 02:02 PM   #5
Naruto_Emilio
Banned
 
Join Date: Apr 2011
Location: North Africa
Posts: 1,537
Reputation: 365
Default Re: Error 19; Runtime error: File or function cannot be found.

If the gamemode.amx is 0 octects, then the script is fucked up, check that, if it is, then delet all what you did on the last update of your gamemode, otherwise, re-update includes + plugins with the new plugins and includes

If you compile with an old include and have a new plugin, then it should fuck the script up.
Naruto_Emilio is offline   Reply With Quote
Old 17/08/2012, 02:03 PM   #6
RanSEE
Huge Clucker
 
RanSEE's Avatar
 
Join Date: Apr 2011
Posts: 354
Reputation: 57
Default Re: Error 19; Runtime error: File or function cannot be found.

Quote:
i have the gamemode defined in .cfg
You need to add a line "plugin" where you will list all the plugins you use.
for ex:

pawn Code:
plugins streamer sscanf irc

Make sure you have .net framework 4.0 installed.
__________________
RanSEE is offline   Reply With Quote
Old 17/08/2012, 02:05 PM   #7
Josh_Main
Huge Clucker
 
Josh_Main's Avatar
 
Join Date: Mar 2012
Location: Exclusive Gaming
Posts: 443
Reputation: 12
Default Re: Error 19; Runtime error: File or function cannot be found.

I have the plugins line in my Cfg
__________________

104.192.227.106:8630
Hosted by Evolution Servers

Apocalypse Z Roleplay - Half roleplay, half zombie apocalypse roleplay

My work
[Filterscript] Gun Store Dialog

Josh_Main is offline   Reply With Quote
Old 17/08/2012, 02:07 PM   #8
Josh_Main
Huge Clucker
 
Josh_Main's Avatar
 
Join Date: Mar 2012
Location: Exclusive Gaming
Posts: 443
Reputation: 12
Default Re: Error 19; Runtime error: File or function cannot be found.

This is what native checker tells us the problem is:

Quote:
[15:16:26] Error: Function not registered: 'Audio_CreateTCPServer'
[15:16:26] Error: Function not registered: 'Audio_AddPlayer'
[15:16:26] Error: Function not registered: 'Audio_RemovePlayer'
[15:16:26] Error: Function not registered: 'Audio_TransferPack'
[15:16:26] Error: Function not registered: 'Audio_IsClientConnected'
[15:16:26] Error: Function not registered: 'Audio_Play'
[15:16:26] Error: Function not registered: 'Audio_SetVolume'
[15:16:26] Error: Function not registered: 'Audio_Seek'
[15:16:26] Error: Function not registered: 'Audio_Set3DPosition'
[15:16:26] Error: Function not registered: 'Audio_PlayStreamed'
[15:16:26] Error: Function not registered: 'Audio_Stop'
__________________

104.192.227.106:8630
Hosted by Evolution Servers

Apocalypse Z Roleplay - Half roleplay, half zombie apocalypse roleplay

My work
[Filterscript] Gun Store Dialog

Josh_Main is offline   Reply With Quote
Old 17/08/2012, 02:14 PM   #9
Naruto_Emilio
Banned
 
Join Date: Apr 2011
Location: North Africa
Posts: 1,537
Reputation: 365
Default Re: Error 19; Runtime error: File or function cannot be found.

redownload the goddamit plugin of audio streamer..
Naruto_Emilio is offline   Reply With Quote
Old 17/08/2012, 02:15 PM   #10
RanSEE
Huge Clucker
 
RanSEE's Avatar
 
Join Date: Apr 2011
Posts: 354
Reputation: 57
Default Re: Error 19; Runtime error: File or function cannot be found.

Download latest version of audio plugin, patch it up and compile your gamemode again. See if that helps
__________________
RanSEE 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
Runtime error 19: "File or function is not found" JustinAn Server Support 16 06/12/2017 09:51 PM
Runtime error 19: "File or function is not found" TheYoungCapone Server Support 7 11/02/2012 12:03 PM
Runtime error 19: "File or function is not found" dudaefj Server Support 7 05/11/2011 11:18 PM
runtime error 19 " file or function is not found " davelord Help Archive 9 26/02/2011 02:16 PM
Runtime Error 19 ''File or function not found'' cigo Help Archive 5 25/12/2009 11:06 PM


All times are GMT. The time now is 05:21 PM.


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