16.11.2014, 12:53
OnGameModeExit cannot handle lot of codes since the server shuts down immediately. It's better for you to create a repeating timer which can save everyone's data globally. Also suggesting you to check if player is connected or not while looping through MAX_PLAYERS, it can process invalid data and also it's a waste of time while executing functions over player slots which aren't used.