Can't add any #include because server's gamemode can not load
#1

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

if you are including <Streamer>,<sscanf>,<mysql> then you need the plugins too
Reply
#3

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

Bump, I am in desperate need of help.
Reply
#5

Download the nativechecker Plugin and then post the log file again pls
Reply
#6

Quote:
Originally Posted by Kaliber
Посмотреть сообщение
Download the nativechecker Plugin and then post the log file again pls
I've downloaded the plugin and put it there but where do I check for the logs? I start the server as usual and the error happens but where is that log created, or atleast under what name if possible?
Thank you in advance.
Reply
#7

The log..gets printet in the console...where you read the error "native functions not found.."
Reply
#8

Unfortunately I'm getting no "native function not found.." notifications. I've put the nativechecker.dll in the plugins folder, written it as the last plugin in the line of the server.cfg and upon starting the server I'm getting the following thing :
Quote:

[22:02:42] Loading filterscript 'fs2.amx'...
[22:02:42] Loaded 11 filterscripts.

[22:02:42] Reading File: blank
[22:02:42] Reading File: properties/houses.txt
[22:02:42] Reading File: properties/businesses.txt
[22:02:42] Reading File: properties/banks.txt
[22:02:42] Reading File: properties/police.txt
[22:02:42] Script[gamemodes/asd.amx]: Run time error 19: "File or function is not found"
[22:02:42] Number of vehicle models: 0

Reply
#9

[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!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)