02.02.2017, 20:20
Hi
I have this problem where it says : "Run time error 20: "Invalid index parameter (bad entry point)"
But I tried to fix it, and added main ( ) { }
And downloaded crashdetect, but the error is still here..
I tried to compare a new 'Untitled' pwn file with my gamemode, Then I found that I have to add #else under OnFilterScriptExit and #endif like that :
public OnFilterScriptExit()
{
return 1;
}
#else
main()
{
print("\n----------------------------------");
print(" Blank Gamemode by your name here");
print("----------------------------------\n");
}
#endif
But that didn't work too.. and the server isn't opening anymore and it's saying :
I couldn't load any gamemode scripts. Please verify your server.cfg
[22:09:06] It needs a gamemode0 line at the very least.
And yeah ofc, I added the gamemode in the line..
Hope anyone can help me!!
I have this problem where it says : "Run time error 20: "Invalid index parameter (bad entry point)"
But I tried to fix it, and added main ( ) { }
And downloaded crashdetect, but the error is still here..
I tried to compare a new 'Untitled' pwn file with my gamemode, Then I found that I have to add #else under OnFilterScriptExit and #endif like that :
public OnFilterScriptExit()
{
return 1;
}
#else
main()
{
print("\n----------------------------------");
print(" Blank Gamemode by your name here");
print("----------------------------------\n");
}
#endif
But that didn't work too.. and the server isn't opening anymore and it's saying :
I couldn't load any gamemode scripts. Please verify your server.cfg
[22:09:06] It needs a gamemode0 line at the very least.
And yeah ofc, I added the gamemode in the line..
Hope anyone can help me!!