1LoL1 Posted August 1, 2015 Posted August 1, 2015 Please anyone can help me with this code? function formatTimeFromMinutes(value) if value then local hours = math.floor(value / 60) local minutes = math.round((value / 60 - math.floor(value / 60)) * 100 / 1.6666666666666667) if minutes < 10 then minutes = "0" .. minutes end value = hours .. ":" .. minutes return value end return false end Now Alive Time is 0:00 What i must add when i want to add seconds and this: 00:00:00
#RooTs Posted August 1, 2015 Posted August 1, 2015 this ? local hour, mins = getTime () local Time = hour .. ":" .. (((mins < 10) and "0"..mins) or mins)
1LoL1 Posted August 1, 2015 Author Posted August 1, 2015 you that's real time or game? No. Alive Time i using gamemode DayZ.
#RooTs Posted August 1, 2015 Posted August 1, 2015 No. Alive Time i using gamemode DayZ. ohh. I not work with DayZ..... Sorry
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now