SA-MP Forums Archive
Runtime error 19 - 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: Runtime error 19 (/showthread.php?tid=464415)



Runtime error 19 - Fierro - 16.09.2013

[10:00:31] Script[gamemodes/heist92_01a.amx]: Run time error 19: "File or function is not found"

I seriously do not know what the problem is. Spent several hours yesterday just trying to fix this. Anyone know how to?


Re: Runtime error 19 - Omar55555 - 16.09.2013

in your server.cfg do this "gamemode heist92_01a" without ""

if u did and it didn't work then u didn't compile your gamemode

i don't recommend to use _ in your gamemode name just do it something simple


AW: Runtime error 19 - Fierro - 16.09.2013

It's definitely compiled, don't have to test that. I've only put the AMX file in the server's directory.


Re: Runtime error 19 - IceCube! - 16.09.2013

Does you pawn file contiain
pawn Код:
main() {}
Or a variation of this, if it doesn;t this would be why. The Gamemode would have no entry point although this is mostly defined by SAMP it is required to initalise the game mode.


AW: Runtime error 19 - Fierro - 16.09.2013

Yes, I have the main() in there.


Re: AW: Runtime error 19 - IceCube! - 16.09.2013

Quote:
Originally Posted by Fierro
Посмотреть сообщение
Yes, I have the main() in there.
Has the mode compiled? and is it named the same (Your '_' may be a space in your file for example?)


AW: Runtime error 19 - Fierro - 16.09.2013

Yes...


Re: AW: Runtime error 19 - IceCube! - 16.09.2013

Quote:
Originally Posted by Fierro
Посмотреть сообщение
Yes...
Did all your plugins load correctly? Have you missed a plugin you should have included?


AW: Runtime error 19 - Fierro - 16.09.2013

All loaded correctly to my knowledge.


Re: Runtime error 19 - IceCube! - 16.09.2013

Then can you please post the following:

Your Main() function.
Your server CFG (Blank out information such as an IP Bind, and passwords.)
Your Server log.