Runtime Error 20: "Invalid index parameter (bad entry point)" -
Gupike - 28.01.2009
Well ive put my GM on folder, and when i start samp Server a message apear..
I wish to know why GM done this errror and how i can fix it.
This message apear:
Script[gamemodes/RPG.amx]: Run time error 20: "Invalid index parameter (bad entry point)"
Why this message apear? Do i forget anything? I apreciate if someone could help me...
Re: Runtime Error 20: "Invalid index parameter (bad entry point)" -
SilentMouse - 28.01.2009
Most likely a script bug, ask in the topic you downloaded the script from.
Re: Runtime Error 20: "Invalid index parameter (bad entry point)" -
dugi - 28.01.2009
http://forum.sa-mp.com/index.php?topic=69918.0
Re: Runtime Error 20: "Invalid index parameter (bad entry point)" -
Gupike - 28.01.2009
I made this GM...im scripting it....but i wish to know wich kind of problem is it...to locate on codes...Any ideia?
Re: Runtime Error 20: "Invalid index parameter (bad entry point)" -
Auto-Sized - 28.01.2009
Mate if you made it then you should know what the last thing you did before that happened. Review what you did that would be my advice. Did you check that link?.
Re: Runtime Error 20: "Invalid index parameter (bad entry point)" -
yom - 28.01.2009
You need a main(), even if empty.
Re: Runtime Error 20: "Invalid index parameter (bad entry point)" -
Gupike - 29.01.2009
Tahnk you mate...thats it.... ive forgoted about the main()...thx
Re: Runtime Error 20: "Invalid index parameter (bad entry point)" -
LarzI - 29.01.2009
If you'd followed dugi's link, you would get the answer right away...
Re: Runtime Error 20: "Invalid index parameter (bad entry point)" -
MatthewGarrowo - 22.01.2010
i have the same problem whats the main() thingy what do i put in it
Re: Runtime Error 20: "Invalid index parameter (bad entry point)" -
yoan103 - 02.02.2010
guys where must i put this main() must it be here
#include <a_samp>
public OnGameModeInit()
{
main()
{
of course its not because it says undefined symbol
Re: Runtime Error 20: "Invalid index parameter (bad entry point)" -
r3k1lLz_ - 24.01.2011
I put my main just above ongamemodeinit
This is a preview..
pawn Код:
main() {}
//{} closes main
public OnGameModeInit()
{
return 1;
}
Hope it helps!
Re: Runtime Error 20: "Invalid index parameter (bad entry point)" -
ricardo178 - 24.01.2011
Mybe That
not sure)
pawn Код:
#include <a_samp>
{
main()
}
public OnGameModeInit()
{
return 1;
}
Re: Runtime Error 20: "Invalid index parameter (bad entry point)" -
Grim_ - 24.01.2011
Please only reply if you have tested, or are almost completely sure the code you are providing will work. There is no use in providing useless code that will get no-one anywhere.
Following the example provided by r3k1lLz_ and your problem will be resolved.