Posts: 6
Threads: 2
Joined: Dec 2009
Reputation:
0
Im getting the following error when trying to run my server:
Script[gamemodes/FBG.amx]: Run time error 20: "Invalid index parameter (bad entry point)"
I have searched the forum and there whas one topic that sayd you need main() above your OnGameModeInit().
I have did this but i still get the error.
Posts: 63
Threads: 5
Joined: Nov 2008
Reputation:
0
I feel your pain.
i have added main too
Posts: 148
Threads: 2
Joined: Mar 2009
Reputation:
0
same happened to me, but when i added the main(){}, the server log no longer shows me the "runtime error 20" , instead it just shows vehicle models:0 and the server is still not working, all plugins are in place and the script compiles without a warning or error. and im 100% sure its from the script.
Posts: 2,082
Threads: 118
Joined: Jan 2010
Reputation:
0
What is your game mode text saying when this happens? (Aimed at xalith)
Posts: 148
Threads: 2
Joined: Mar 2009
Reputation:
0
my whole server wouldnt show up, anyway i fixed it, i reset everything (server.cfg etc... ) and reuploaded now it works perfectly thanks anyway.
This forum requires that you wait 120 seconds between posts. Please try again in 26 seconds.
Posts: 494
Threads: 9
Joined: Feb 2012
Reputation:
0
I think you get this error when you delete this part from the script:
public OnFilterScriptInit()
{
print("\n--------------------------------------");
print(" Blank Filterscript by your name here");
print("--------------------------------------\n");
return 1;
}
public OnFilterScriptExit()
{
return 1;
}
#else
After I tried to compile my script without it I got the errors, and so I opened another PAWNO window and added that part back to my script and it worked without any errors.
Posts: 1,250
Threads: 92
Joined: Mar 2011
Reputation:
0
@TheDominator:
You just bumped a thread that was created on 04/12/2009.