player onDeath
#3

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.
Reply


Messages In This Thread
player onDeath - by Dotayuri - 14.02.2013, 13:23
Re: player onDeath - by ]Rafaellos[ - 14.02.2013, 15:18
Re: player onDeath - by MP2 - 14.02.2013, 16:26
Re: player onDeath - by Dotayuri - 14.02.2013, 18:10
Re: player onDeath - by MP2 - 14.02.2013, 19:19
Re: player onDeath - by Dotayuri - 14.02.2013, 20:33

Forum Jump:


Users browsing this thread: 3 Guest(s)