OnGameModeExit
#9

Quote:
Originally Posted by AphexCCFC
Посмотреть сообщение
Sorry been very busy. I close the game mode by clicking the red X.
The character saving is also under OnPlayerDisconnect. I need it so any way the player gets disconnected their account will save? Whether it's using the rcon command to exit the console or force closing it.
When clicking the red X OnPlayerDisconnect is NOT callled. If you issue the Rcon 'exit' command instead, it should call OnGameModeExit as far as I know.
I don't know why you'd place saving code for players there to be honest, OnPlayerDisconnect should do the job just fine (as long as you don't use the red X).
Reply


Messages In This Thread
OnGameModeExit - by AphexCCFC - 08.04.2014, 03:25
Re: OnGameModeExit - by Jstylezzz - 08.04.2014, 05:58
Re: OnGameModeExit - by Ari - 08.04.2014, 06:23
Re: OnGameModeExit - by Gilmar - 08.04.2014, 12:05
Re: OnGameModeExit - by Lloyde - 09.04.2014, 07:35
Re: OnGameModeExit - by RajatPawar - 09.04.2014, 07:55
Re: OnGameModeExit - by AphexCCFC - 09.04.2014, 18:10
Re: OnGameModeExit - by azzerking - 09.04.2014, 18:58
Re: OnGameModeExit - by Jstylezzz - 09.04.2014, 19:06
Re: OnGameModeExit - by AphexCCFC - 09.04.2014, 19:37

Forum Jump:


Users browsing this thread: 1 Guest(s)