SA-MP Forums Archive
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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Invalid index parameter (bad entry point) (/showthread.php?tid=180883)



Invalid index parameter (bad entry point) - ColdXX - 03.10.2010

pawn Код:
[10:58:01] Script[gamemodes/CnCs.amx]: Run time error 20: "Invalid index parameter (bad entry point)"
What is the problem ?

Thanks!


Re: Invalid index parameter (bad entry point) - Georgelopez1 - 03.10.2010

Well show us the line of code, and the code around it and i will see what i can do.


Re: Invalid index parameter (bad entry point) - Zeex - 03.10.2010

http://forum.sa-mp.com/search.php?searchid=627616


Re: Invalid index parameter (bad entry point) - ColdXX - 03.10.2010

Ahh yea i was so pissed that i forgot the Search Button!

Ok now i have this problem!
I had a script and i splited it into 2 !
One with all teleports,and the other with other stuff!

The one with the teleports i made it a FS ,but when i try to use the commands from the GM ma skin turns to CJ !
When i unload the FS the commands from The GM work fine!
Whats the problem?;o


Re: Invalid index parameter (bad entry point) - Calgon - 03.10.2010

Add:

pawn Код:
main() {
}
to the top of the script with this issue. (after including a_samp)


Re: Invalid index parameter (bad entry point) - ColdXX - 03.10.2010

Yea i've done that!
I still got that problem! lol
The one with the FS and GameMode


Re: Invalid index parameter (bad entry point) - playbox12 - 03.10.2010

That is weird, probally something in your filterscript then, can you show us some code from your GM and FS that looks like it can clash with each other. If you understand what I mean.


Re: Invalid index parameter (bad entry point) - Retardedwolf - 03.10.2010

Why not just save the playerid's skin into a variable and set it back after the person teleported? Easy way to fix it?