27.12.2013, 13:19
Quote:
-- How long has it been up for -- https://sampwiki.blast.hk/wiki/Gettime
-- Since when -- https://sampwiki.blast.hk/wiki/Getdate You could store the references returned by those functions when the server starts and calculate what you need, comparing the current date-time to the initial values. You might want to look at some database systems to save those references, I wouldn't go for something so complex, a few lines in a file should do. |
Server has been up for 1388150620 Since 00/00/0/00:00