SA-MP Forums Archive
Run time error 20: Invalid index parameter <bad entry point> - 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: Run time error 20: Invalid index parameter <bad entry point> (/showthread.php?tid=570905)



Run time error 20: Invalid index parameter <bad entry point> - NviDa - 14.04.2015

I get that error when I run server.cfg

I added main () {} in my script,right before OnGamemodeint
Still I get the error.
Also see this please
https://sampforum.blast.hk/showthread.php?tid=570899


Thanks!


Re: Run time error 20: Invalid index parameter <bad entry point> - MP2 - 14.04.2015

If you added the main function properly then you wouldn't have this problem. Make sure you compiled and are running the correct mode.


Re: Run time error 20: Invalid index parameter <bad entry point> - NviDa - 15.04.2015

Quote:
Originally Posted by MP2
Посмотреть сообщение
If you added the main function properly then you wouldn't have this problem. Make sure you compiled and are running the correct mode.
EDIT:
NVM FIXED!!


@MP2
Its compiled and what do you mean by running the correct mode?


Re: Run time error 20: Invalid index parameter <bad entry point> - Ha$H_Sexyboy - 13.09.2015

how did you fix it i have the same problem under,it happens when a player connects