public OnGameModeExit() { foreach (Player, i) { if(IsPlayerConnected(i)) { SavePlayerStats(i); } return 1; } return 1; }