SA-MP Forums Archive
Run Time Error - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Run Time Error (/showthread.php?tid=523436)



Run Time Error - Tosh123 - 02.07.2014

Hello guys I made fully new script and its working on my PC and when I try to upload it on My VPS it gave me the following error:

[01:54:01] Script[gamemodes/SURP.amx]: Run time error 19: "File or function is not found"
[01:54:01] Number of vehicle models: 0

Please help...


Re: Run Time Error - Parallex - 02.07.2014

Plugin's problem. Have you loaded the plugins and is your VPS linux?


Re: Run Time Error - Tosh123 - 02.07.2014

Yes I loaded all the plugins and my VPS is Windows 2008.


Re: Run Time Error - Lynn - 02.07.2014

You're
A: Missing a plugin from server.cfg
B: Not loading correctly. In server.cfg you should have at the bottom,
WINDOWS: plugins pluginname
LINUX: plugins pluginname.so
Make sure if windows in the plugins folder it's
pluginname.dll version.
and Linux
pluginname.so version


Re: Run Time Error - Tosh123 - 02.07.2014

Quote:
Originally Posted by Lynn
Посмотреть сообщение
You're
A: Missing a plugin from server.cfg
B: Not loading correctly. In server.cfg you should have at the bottom,
WINDOWS: plugins pluginname
LINUX: plugins pluginname.so
Make sure if windows in the plugins folder it's
pluginname.dll version.
and Linux
pluginname.so version
I done what you said then I get:


[06:50:45]
[06:50:45] Filterscripts
[06:50:45] ---------------
[06:50:45] Loading filterscript 'Buttons.amx'...
[06:50:45] Loaded 1 filterscripts.

[06:50:45] Error: Function not registered: 'Audio_CreateTCPServer'
[06:50:45] Error: Function not registered: 'Audio_AddPlayer'
[06:50:45] Error: Function not registered: 'Audio_RemovePlayer'
[06:50:45] Error: Function not registered: 'Audio_TransferPack'
[06:50:45] Error: Function not registered: 'Audio_IsClientConnected'
[06:50:45] Error: Function not registered: 'Audio_Play'
[06:50:45] Error: Function not registered: 'Audio_SetVolume'
[06:50:45] Error: Function not registered: 'Audio_Seek'
[06:50:45] Error: Function not registered: 'Audio_Set3DPosition'
[06:50:45] Error: Function not registered: 'Audio_PlayStreamed'
[06:50:45] Error: Function not registered: 'Audio_Stop'
[06:50:45] Script[gamemodes/SURP.amx]: Run time error 19: "File or function is not found"
[06:50:45] Number of vehicle models: 0


Re: Run Time Error - Konstantinos - 02.07.2014

Either you forgot to load audio plugin or it failed to load. If it failed to load:
Quote:
Originally Posted by Incognito
Посмотреть сообщение
The Windows version of the server plugin requires the Microsoft .NET Framework 4.0 or higher.



Re: Run Time Error - Tosh123 - 02.07.2014

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
Either you forgot to load audio plugin or it failed to load. If it failed to load:
When I try to instaill it then it say the following:

Same or higher version of .NET Framework 4 has already been installed on this computer.


Re: Run Time Error - Tosh123 - 04.07.2014

Helppp??

Any One?