SA-MP Forums Archive
my 1 error - 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: my 1 error (/showthread.php?tid=407143)



my 1 error - b0b - 12.01.2013

[23:51:44] Loaded 7 filter scripts.

[23:51:44] Script[gamemodes/uusGm.amx]: Run time error 19: "File or function is not found"
[23:51:44] Number of vehicle models: 0




how to fixthis?


Re: my 1 error - park4bmx - 12.01.2013

Is it compiled ?
Missing plugins ?


Re: my 1 error - Infinity90 - 12.01.2013

Do you have
main() { } in your script ? Make sure in the server.cfg all the plugins are there (Example: plaugins sscanf )


Re: my 1 error - ThePhenix - 12.01.2013

If he hadn't "main" in his gamemode, he would receive this error:

Код:
[17:20:33] Script[gamemodes/gm.amx]: Run time error 20: "Invalid index parameter (bad entry point)"



Re: my 1 error - EAsT-OAK_510 - 12.01.2013

Код:
[23:51:44] Script[gamemodes/uusGm.amx]: Run time error 19: "File or function is not found"
Your plugins are outdated.


Re: my 1 error - zJordioz - 12.01.2013

Yeah, old or missing plugin or something


Re: my 1 error - u3ber - 12.01.2013

Quote:
Originally Posted by EAsT-OAK_510
Посмотреть сообщение
Код:
[23:51:44] Script[gamemodes/uusGm.amx]: Run time error 19: "File or function is not found"
Your plugins are outdated.
this may not necessarily be the cause.

just a quick share -> plugins are dynamic, they're affected upon run time (hence, the run time error). added natives are treated as prototypes (pass information) and the plugin contains the real information that does the work.

Quote:
Originally Posted by Infinity90
Do you have
main() { } in your script ?
back on track: understanding this (what i said above) anyone getting this particular error it is always caused by the plugin, not your mode!