14.02.2013, 16:26
You should increment the variable under OnPlayerDeath then save it either when they disconnect (OnPlayerDisconnect) or periodically (every 5 minutes or so).
Storing it as soon as it's increased wouldn't be a massive issue though. I do that for some 'important' stats that players wouldn't want to lose. This isn't really one of those though.
Storing it as soon as it's increased wouldn't be a massive issue though. I do that for some 'important' stats that players wouldn't want to lose. This isn't really one of those though.