SA-MP Forums Archive
Runtime Error 19 ''File or function not found'' - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Runtime Error 19 ''File or function not found'' (/showthread.php?tid=115765)



Runtime Error 19 ''File or function not found'' - cigo - 25.12.2009

HI, I started to make a new GM, i compiled the script with no warnings or errors, but when I start server it shows up that runtime error. I'm not using any plugins, and I started to make my GM from new.pwn, so I have no unneeded (removed) functions. What can be the problem?

EDIT: Sorry, my bad - missing plugin


Re: Runtime Error 19 ''File or function not found'' - Puzi - 25.12.2009

Make sure you have this in your script:

Code:
main()
{
	print("\n----------------------------------");
	print("Gamemode whatever blabla...");
	print("----------------------------------\n");
}
And make sure both .pwn and .amx have the same file names.

Thanks and Regards
Puzi


Re: Runtime Error 19 ''File or function not found'' - cigo - 25.12.2009

I'm using seifadmin, so i have to use whirpool plugin.

i created folder named '''plugins'' and put plugin into that folder, then i opened server.cfg and added:

Code:
plugins Whirpool
the problem is - plugin is no loading ;/ what i do wrong?


Re: Runtime Error 19 ''File or function not found'' - Puzi - 25.12.2009

From what I know, it is called Whirlpool not Whirpool.

Maybe check the filename of the plugin, and that the file name is the same as under server.cfg, or in reverse.


Re: Runtime Error 19 ''File or function not found'' - cigo - 25.12.2009

i had whirpool instead of whirlpool

thanks for help puzi


Re: Runtime Error 19 ''File or function not found'' - Puzi - 25.12.2009

No problem