Why am i getting this error ?
#1

please can anyone help i opened server.cfg and edited the game mode to my custom one after i added the .pwn and .amx files to the /gamemodes/ folder but when i execute the server it gets me that error



This is Game Mode i downloaded from the scripts thread here in the forum but i changed the name from GM to mmm just to try if the error still exists and it IS
Reply
#2

Show us the log...
Reply
#3

here is the whole log


----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3e-R2, ©2005-2012 SA-MP Team

[03:58:43]
[03:58:43] Server Plugins
[03:58:43] --------------
[03:58:43] Loaded 0 plugins.

[03:58:43]
[03:58:43] Filterscripts
[03:58:43] ---------------
[03:58:43] Loading filterscript 'gl_actions.amx'...
[03:58:43] Loading filterscript 'gl_property.amx'...
[03:58:43]
-----------------------------------
[03:58:43] Grand Larceny Property Filterscript
[03:58:43] -----------------------------------

[03:58:43] Loading filterscript 'gl_realtime.amx'...
[03:58:43] Loading filterscript 'gl_mapicon.amx'...
[03:58:43] Loading filterscript 'ls_elevator.amx'...
[03:58:43] Loading filterscript 'test_cmds.amx'...
[03:58:43] Loading filterscript 'ls_mall.amx'...
[03:58:43] Loading filterscript 'attachments.amx'...
[03:58:43] Loaded 8 filterscripts.

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

[03:54:44] Loading filterscript 'gl_realtime.amx'...
[03:54:44] Loading filterscript 'gl_mapicon.amx'...
[03:54:44] Loading filterscript 'ls_elevator.amx'...
[03:54:44] Loading filterscript 'test_cmds.amx'...
[03:54:44] Loading filterscript 'ls_mall.amx'...
[03:54:44] Loading filterscript 'attachments.amx'...
[03:54:44] Loaded 8 filterscripts.

[03:54:44] Reading File: blank
[03:54:44] Reading File: properties/houses.txt
[03:54:44] Reading File: properties/businesses.txt
[03:54:44] Reading File: properties/banks.txt
[03:54:44] Reading File: properties/police.txt
[03:54:44] Script[gamemodes/mmm.amx]: Run time error 19: "File or function is not found"
[03:54:44] Number of vehicle models: 0
Reply
#4

You're missing plugins, post your server.cfg
Reply
#5

I have had this problem before, It had to do with me just clicking on the gamemode to open it instead of finding it through the open button in pawno, so it didnt make the .amx file in the gamemodes folder. From just glancing over your log everything seems to load fine but the gamemode. So first thing i would do is check to see if you have an .amx file in your gamemodes folder and if you dont open your gamemode up through pawno and then compile then try to start your server.
Reply
#6

Quote:
Originally Posted by nickdodd25
Посмотреть сообщение
I have had this problem before, It had to do with me just clicking on the gamemode to open it instead of finding it through the open button in pawno, so it didnt make the .amx file in the gamemodes folder. From just glancing over your log everything seems to load fine but the gamemode. So first thing i would do is check to see if you have an .amx file in your gamemodes folder and if you dont open your gamemode up through pawno and then compile then try to start your server.
You can use this plugin to check what's the problem

https://sampforum.blast.hk/showthread.php?tid=249226

Regards
FalconX
Reply
#7

I do not see the basic plugins the script should run, also when you add them compile your script and it should run like a charm
Reply
#8

In your Installation server folder is missing a plugin -- .dff. If you know which is, do it:

Copy the plugin on your "Plugins" folder, then go to Server.cfg, add a new word called:

"plugins" then write it.


Maybe are missing them.

Streamer.dff
sscanf.dff
Reply
#9

Quote:
Originally Posted by ThePhenix
Посмотреть сообщение
In your Installation server folder is missing a plugin -- .dff. If you know which is, do it:

Copy the plugin on your "Plugins" folder, then go to Server.cfg, add a new word called:

"plugins" then write it.


Maybe are missing them.

Streamer.dff
sscanf.dff
ok you are right i added this line and it worked

Quote:

plugins sscanf streamer

Reply
#10

Quote:
Originally Posted by ThePhenix
Посмотреть сообщение
In your Installation server folder is missing a plugin -- .dff. If you know which is, do it:

Copy the plugin on your "Plugins" folder, then go to Server.cfg, add a new word called:

"plugins" then write it.


Maybe are missing them.

Streamer.dff
sscanf.dff
Yeah, if you want to be more specific, do as ThePhenix said, but first open your GM and look for your includes that your script must run, download them and add them on your pawn includes or plugins folder, etc.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)