Run time error 20: "Invalid index parameter (bad entry point)"
#1

I don't know why, but I'm getting spammed with this message.
I have the main function above the OnGamemodeInit.
Whenever that function is called, it prints out "Main has been called", so the main is definatly called.
How can I fix this?

Код:
main()
{
	print("main() has been called.");
}

public OnGameModeInit()
Reply
#2

Try after "#include <a_samp>"

Код:
main() {}
Reply
#3

Quote:
Originally Posted by povargek
Посмотреть сообщение
Try after "#include <a_samp>"

Код:
main() {}
The thing is, I have more than one plugin. So should I put him at the end of my last plugin?
Reply
#4

Quote:
Originally Posted by danielpalade
Посмотреть сообщение
The thing is, I have more than one plugin. So should I put him at the end of my last plugin?
Maybe you meant no plugin, and filterscript?

"main()" in filterscript should not be. Check out a blank new.pwn
Reply
#5

Quote:
Originally Posted by povargek
Посмотреть сообщение
Maybe you meant no plugin, and filterscript?

"main()" in filterscript should not be. Check out a blank new.pwn
No I ment includes, sorry.
Reply
#6

main() must use once in gamemode
Reply
#7

Do you have by any chance crashdetect? https://github.com/Zeex/samp-plugin-...es/tag/v4.15.1 - try updating to latest version as older version clashes with some other plugins
Reply
#8

Quote:
Originally Posted by Misiur
Посмотреть сообщение
Do you have by any chance crashdetect? https://github.com/Zeex/samp-plugin-...es/tag/v4.15.1 - try updating to latest version as older version clashes with some other plugins
Thanks, the actually helped me.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)