Error when loading Game mod
#1

Well, when I'm done in my GM, and after compiling, I can't start my server since I get this error
Код:
Run time error 20: "Invalid index parameter (bad entry point)"
After done some searching all they said is put main() {}
But I got it already, here the part of my Gamemode.
PLease help here

Код:
public OnFilterScriptExit()
{
	return 1;
}

main()
{
	print("\n----------------------------------");
	print(" Las Vanturas Role Play");
	print("----------------------------------\n");
}


public OnGameModeInit()
{
  ShowPlayerMarkers(PLAYER_MARKERS_MODE_GLOBAL);
	ShowNameTags(1);
	SetNameTagDrawDistance(20.0);
  DisableInteriorEnterExits();
Reply
#2

Noone
Reply
#3

Try to put this at the beginning of your script:
pawn Код:
main()
{
    print("\n---text here----------.");
   
    print("\n---text here----------.");

}
Reply
#4

Oh, I don't get his error, yeah.
But
When I load the server, it doesn't detect my GM, it just say, Vehicle model 0, and when logging in game, I just log as default Skin, as defaut place
Whichmeans the server doens't read my GM .
Reply
#5

Quote:
Originally Posted by samuel_hamza
Well, when I'm done in my GM, and after compiling, I can't start my server since I get this error
Код:
Run time error 20: "Invalid index parameter (bad entry point)"
After done some searching all they said is put main() {}
But I got it already, here the part of my Gamemode.
PLease help here

Код:
public OnFilterScriptExit()
{
	return 1;
}

main()
{
	print("\n----------------------------------");
	print(" Las Vanturas Role Play");
	print("----------------------------------\n");
}


public OnGameModeInit()
{
  ShowPlayerMarkers(PLAYER_MARKERS_MODE_GLOBAL);
	ShowNameTags(1);
	SetNameTagDrawDistance(20.0);
  DisableInteriorEnterExits();
try this out

pawn Код:
public OnFilterScriptExit()
{
    return 1;
}

main()
{
    print("\n----------------------------------");
    print(" --------Las Vanturas Role Play------");
    print("----------------------------------\n");
}


public OnGameModeInit()
{
  ShowPlayerMarkers(PLAYER_MARKERS_MODE_GLOBAL);
  ShowNameTags(1);
  SetNameTagDrawDistance(20.0);
  DisableInteriorEnterExits();
Reply
#6

Ummm that is some problem with your script.Do you get any errors / warnings when you compile it?
Reply
#7

PM sent!
I sent'd my full script to avoid copy paste, hopefully you can find any solutions
Reply
#8

Thanks very much!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)