OnGameModeExit does not work
#1

Hello. I have a problem with OnGameModeExit because I did not work.
The whole looks like this:
pawn Код:
public OnGameModeExit()
{
print("UNLOAD");
mysql_close();
return true;
}
But the problem is that in our server log files nothing appears
Reply
#2

Yeah well, You gotta do /rcon gmx on server or gmx in the console.
When you quit the console it won't show anytihng.
Reply
#3

just /rcon gmx or exit play OnGameModeExit?
Reply
#4

Try typing "exit" to the console
Reply
#5

maybe in stead of "return true;" : "return 1;"
I know it's the same but you never know ..
Reply
#6

Michael, that is like this: 2 + 1 = 1 + 2

Same.
Reply
#7

And why the moment of closing the console by "x" OnGameModeExit not working? I always worked
Reply
#8

Quote:
Originally Posted by LeNy
Посмотреть сообщение
And why the moment of closing the console by "x" OnGameModeExit not working? I always worked
It never worked with pressing the x
If you press the x its the same as deleting the task
Means the programm is forced by the OS to shutdown
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)