20.01.2014, 23:10
If you have a command, something like /gmx that actually restarts your server, then simply add a timer to it. After the time defined in the timer runs out, it will trigger the OnGameModeExit function but it will give the gamemode time to actually save the details of the players. To illustrate:
Pozdro z Lancaster
Код:
foreach (new A : Player) { OnPlayerUpdateStats(A); } SetTimer("OnGameModeExit", 10000, false);