20.10.2010, 12:42
save the register date in the players file...
and when you do /age or whatever you get the current date and time with getdate and gettime...
then you check the player's register date and do the currentdate - the registerdate and same with the time...
then you have the time the player played;P...
(basicly .. ofc you need to define a few things for it so it will show the month, etc corretly...)
and when you do /age or whatever you get the current date and time with getdate and gettime...
then you check the player's register date and do the currentdate - the registerdate and same with the time...
then you have the time the player played;P...
(basicly .. ofc you need to define a few things for it so it will show the month, etc corretly...)