SA-MP Forums Archive
[19:07:14] Script[gamemodes/hbg.amx]: Run time error 20: "Invalid index parameter (bad entry point)" - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: [19:07:14] Script[gamemodes/hbg.amx]: Run time error 20: "Invalid index parameter (bad entry point)" (/showthread.php?tid=514961)



[19:07:14] Script[gamemodes/hbg.amx]: Run time error 20: "Invalid index parameter (bad entry point)" - minijackc - 24.05.2014

Getting really pissed off, ive got Main() {} and ive tried every possible thing to fix it ive updated plugins, includes and all.

Please help me with
[19:07:14] Script[gamemodes/hbg.amx]: Run time error 20: "Invalid index parameter (bad entry point)"
<3


Re: [19:07:14] Script[gamemodes/hbg.amx]: Run time error 20: "Invalid index parameter (bad entry point)" - eXeDev - 24.05.2014

And, the script compiles fine?


Re: [19:07:14] Script[gamemodes/hbg.amx]: Run time error 20: "Invalid index parameter (bad entry point)" - Ciandlah - 24.05.2014

Add that to the top of your script

Код:
main()   {    }



Re: [19:07:14] Script[gamemodes/hbg.amx]: Run time error 20: "Invalid index parameter (bad entry point)" - eXeDev - 24.05.2014

Make sure it's
Код:
main(){}
And, not
Код:
Main(){}
It's case sensitive.


Re: [19:07:14] Script[gamemodes/hbg.amx]: Run time error 20: "Invalid index parameter (bad entry point)" - minijackc - 24.05.2014

yes its not case sensitive ive done it like (main) i had no compile errors and it still does it. so im in a bit of a Pickle


Re: [19:07:14] Script[gamemodes/hbg.amx]: Run time error 20: "Invalid index parameter (bad entry point)" - Ciandlah - 24.05.2014

Add me on skype: Slaykler - P.S next time post this under scripting help not server support