SA-MP Forums Archive
GM problem - 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)
+--- Thread: GM problem (/showthread.php?tid=383908)



GM problem - _Mohit_ - 09.10.2012

When i run samp-server.exe,i get this error {Script[gamemodes/SCNR.amx]: Run time error 19: "File or function is not found"}

I checked the server.cfg...Everything was fine......Help me please


Re: GM problem - SA-MPDrifter - 09.10.2012

Check the GM folder, it may not be there.


Re: GM problem - judothijs - 09.10.2012

Make sure that the following files are present inside of your GameMode folder:

GameMode.pwn
GameMode.amx

From these two, the .amx file is the most important, as that's the file containing the code that SA-MP actually reads. the .pwn is optional, though I prefer to put it in as well.

If it is actually in there, make sure you didn't mistakenly mistype anything in your server.cfg, as the gamemode names need to match completely. Make sure the gamemode names contains no spaces.


Re: GM problem - dannyk0ed - 09.10.2012

Please show us the serverlog.


Re: GM problem - _Mohit_ - 10.10.2012

[12:17:08] Script[gamemodes/SCNR.amx]: Run time error 19: "File or function is not found"
[12:17:08] Number of vehicle models: 0

this is the server log


Re: GM problem - Molganmojgan - 10.10.2012

English: just post complete server_log


Re: GM problem - _Mohit_ - 10.10.2012

i got it


Re: GM problem - _Mohit_ - 10.10.2012

just added '1' after gm name in server.cfg...Now it's working