SA-MP Forums Archive
Run time error 20 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: Run time error 20 problem (/showthread.php?tid=529961)



Run time error 20 problem - davve95 - 04.08.2014

Hi!

I'm working on a new project..
But I came across a weird error message, that you will see in console.

Код:
 [17:39:36] Script[gamemodes/Crazy.amx]: Run time error 20: "Invalid index parameter (bad entry point)"
I found a existing topic (2009) about this issue. But I didn't got it to fully so I re-ask if it's ok...


Thansk!


Edit: Maybe wrong section but I don't know what's causing the problem..


Re: Run time error 20 problem - SHE790 - 04.08.2014

1. upgrade ur plugins
2. if ur using a test server add .so in the end of the plugins

By the way

did u added
pawn Код:
main(){}



Re: Run time error 20 problem - ViniBorn - 04.08.2014

Are you using main(){} ?


Re: Run time error 20 problem - Stinged - 04.08.2014

This one has nothing to do with plugins.
Add
pawn Код:
main()
{
    print("Loaded");
}
or
pawn Код:
main(){}



Re: Run time error 20 problem - Crystallize - 04.08.2014

Main(){} should fix it as other people said above


Re: Run time error 20 problem - Team_PRO - 04.08.2014

Try to use crashdetect or natichecker then post the log here

Or
just follow the people above


Re: Run time error 20 problem - davve95 - 05.08.2014

Thanks alot guys it worked!..

The main thing were the problem.
Weird I don't have that in my other GM with out any problems.