Error 19 - File 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: Error 19 - File not found (
/showthread.php?tid=171130)
Error 19 - File not found -
Sascha - 25.08.2010
Hi...
I just made a new script and compiled... it's saved as "test" in the gamemodes folder (.pwn AND .amx)...so as normal..
but when I start the 0.3 server with "gamemode test"
it says:
Код:
Script[gamemodes/test.amx]: Run time error 19: "File or function is not found"
Re: Error 19 - File not found -
Souvlaki - 25.08.2010
Do you have main() function in your script?
Re: Error 19 - File not found -
Claude - 25.08.2010
What the guy above me said
Re: Error 19 - File not found -
Sascha - 25.08.2010
yeap I have...
Код:
main()
{
print("\n----------------------------------");
print("Test Script Loaded!");
print("----------------------------------\n");
}
Re: Error 19 - File not found -
Scenario - 25.08.2010
Does your script require the use of plugins? If yes, make sure they're loading. If not, make sure you aren't loading any.
Re: Error 19 - File not found -
General Abe - 25.08.2010
Make sure you have all necessary plugins and their respective includes (and declare them).
Re: Error 19 - File not found -
RSX - 25.08.2010
Great problem, check all of your INCLUDES too, you can get this via using include which doesn't declare that it is used. check for non-default plugins/includes. I have nearly crashed IDK, something around me when i first got this error.
Re: Error 19 - File not found -
Sascha - 25.08.2010
fixed, thanks