13.12.2009, 13:21
nonono, I meant add eg.
between EVERY SINGLE LINE inside OnGameModeInit.
Then in the server log after the server crashes, count how many lines which contains the text "test" then find the same line in GM
example:
Then if your server log only show you one or two "test"
like this:
that means that the line before the last "test"-print, crashes the server.
pawn Code:
print("test");
Then in the server log after the server crashes, count how many lines which contains the text "test" then find the same line in GM
example:
pawn Code:
public OnGameModeInit()
{
print(" MyGM made by ME ");
print("test"); //#1
SetGameModeText("MyGM");
print("test"); //#2
myVar = 2345;
print("test"); //#3
return true;
}
like this:
Code:
MyGM made by ME test test