ongamemodeexit on linux
#1

Why when i shutdown server on linux ongamemodeexit doesn't execute?

I wanna save all player data when i close server.
Reply
#2

There are only two valid ways to shutdown your server

1. Type the command exit in the console
2. Call the native function GameModeExit

If you did one of these I dont know the problem :S
Reply
#3

i trayed exit but it doesn't save anything
Reply
#4

You can't execute much code in OnGameModeInit iirc.
Reply
#5

Just put in the first line of OnGameModeExit an print expression and check if it gets called
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)