14.02.2013, 18:10
Quote:
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. |
I think ill up date it on player death,
but should i update it on both the register system and gamemode "onplayerDeath"