How do i display the game time on my server like this Eksample: 3 days 20 min 59 sec
DisplayUtime = { "!playtime", "/playtime" }
--- Displays you play time in chat
local function DisplayOpenUtime( ply, command, team )
for _,v in pairs(DisplayUtime) do
if command == v then
ULib.tsay( ply, "Your playtime is ".. math.floor( ply:GetUTimeTotalTime() ) .. " (This is in seconds, trying to fix it!) " )
end
end
end
hook.Add( "PlayerSay", "DisplayUtime", DisplayOpenUtime )