Error 19 - File not found
#1

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"
Reply
#2

Do you have main() function in your script?
Reply
#3

What the guy above me said
Reply
#4

yeap I have...

Код:
main()
{
	print("\n----------------------------------");
	print("Test Script Loaded!");
	print("----------------------------------\n");
}
Reply
#5

Does your script require the use of plugins? If yes, make sure they're loading. If not, make sure you aren't loading any.
Reply
#6

Make sure you have all necessary plugins and their respective includes (and declare them).
Reply
#7

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.
Reply
#8

fixed, thanks
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)