Posts: 1,495
Threads: 131
Joined: Jul 2009
Reputation:
0
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...)
Posts: 2,628
Threads: 32
Joined: Apr 2007
Reputation:
0
Set a var every second and save it to a file.