script question
#1

hi i want make a played time counter like

name have played 50 years 10 month 1 week 4 days 21 hr 15 minutes

how i can do it?
thx
Reply
#2

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...)
Reply
#3

Set a var every second and save it to a file.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)