Originally Posted by Breetard
Didnt seem to work, do you think you could help me by adding it in the code?
|
You can just add this code, then add the variables hour and minute to the end of the
existing format function, like so:
Code:
-- Server Clock
local hour, minute, aptime, pm = GetGameTime(), true
if aptime then
if hour == 0 then hour = 12 end
if hour > 12 then hour = hour - 12 end
if hour >= 12 then pm = true end
end
return format(":: %s :: %s%%dur :: %sfps :: %smB :: %sms :: %s:%s%s ::", gold, durability, fps, memory, latency, hour, minute, aptime and pm and "pm" or "am" or "")
Should work, did not test.