[Bug] OnGameModeExit
#1

Hello.

I might find this pretty important because OnGameModeExit is not called for me if I /rcon gmx or exit or just close the console box.
I would need OnGameModeExit if there is a server bug, restart or anything to save all the stats before it shuts down.

Is it just me or everyone is experiencing this?
Reply
#2

Read this: http://forum.sa-mp.com/showpost.php?...&postcount=263

Should help you.
Reply
#3

Quote:
Originally Posted by ******
Посмотреть сообщение
There are no players connected when OnGameModeExit is called - OnPlayerDisconnect is called first (you can't use foreach there either though - or you can but it won't get the just disconnected player).
That isn't really true... OnPlayerDisconnect is not called when server is shutting down.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)