Posts: 152
Threads: 45
Joined: Dec 2010
Reputation:
0
Hello, each time I add an include on top of my screen (under <samp> of course), it gives a really strange bug, basically the gamemode compiles without any problems, no errors, nothing. But when I start the server the error Script [gamemodes/testingthis2.amx]: Run time error 19: "File or function is not found" Loaded Vehicles 0, and that's all. I've checked everything and when I've removed the #include itself, the server automatically fixed and I could load the gamemode. Please help as I've ran out of ideas. And yeah, I've the include file there as the gamemode compiles with no problems. The problem is not only with the a_actor, every single include has this bug on my gamemode for some reason.
Posts: 596
Threads: 75
Joined: Nov 2015
if you are including <Streamer>,<sscanf>,<mysql> then you need the plugins too
Posts: 152
Threads: 45
Joined: Dec 2010
Reputation:
0
I have only these two includes - #include <a_samp> and#include <a_actor>
I have the include file in my pawn/includes folder and upon adding #include in the gamemode it complies perfectly, but upon starting the server I get that error I've described earlier.
Posts: 152
Threads: 45
Joined: Dec 2010
Reputation:
0
Bump, I am in desperate need of help.
Posts: 1,092
Threads: 4
Joined: Jun 2012
Reputation:
0
The log..gets printet in the console...where you read the error "native functions not found.."
Posts: 152
Threads: 45
Joined: Dec 2010
Reputation:
0
[SOLVER] What a silly mistake of mine, after long hours of scripting I've editted the plugins line at some point, and have changed the name from plugins to plugnins, leading to this error. Thank you man if it wasn't you who told me to add this plugin I wouldn't have seen this line. Thanks again!