12.06.2013, 04:52
Hello,
I am currently working on a gamemode.But i am stucked at something i have no idea how to save week stats, month stats.Like a player registers and when he is a week old the current score gets saved in week and then it gets reset and when again one week completes it will get addup with the current same with months.I've maded register/login system and it saves RegisterDate is it possible anyway to check dates and get to know thats he was registered 7 days ago bla bla.So we can store week stats of the player.I am using MySQL R6.A example code will be good.
I am currently working on a gamemode.But i am stucked at something i have no idea how to save week stats, month stats.Like a player registers and when he is a week old the current score gets saved in week and then it gets reset and when again one week completes it will get addup with the current same with months.I've maded register/login system and it saves RegisterDate is it possible anyway to check dates and get to know thats he was registered 7 days ago bla bla.So we can store week stats of the player.I am using MySQL R6.A example code will be good.