Hassam Posted November 8, 2013 Share Posted November 8, 2013 MyTimerCarshow = setTimer( function () end , (Time*60*1000), 0) local MyMinutes, ExeC, TotC = getTimerDetails (MyTimerCarshow) local MyMinutesCarshow = MyMinutes/1000/60 setTimer( function () if (isTimer(MyTimerCarshow)) then guiSetText(GetTimeInfo, "In Progress") guiLabelSetColor(GetTimeInfo, 215, 255, 0) else guiSetText(GetTimeInfo, math.floor(MyMinutesCarshow).." Minutes") guiLabelSetColor(GetTimeInfo, 0, 255, 0) end end, 50, 0) Hello, I'm posting here because I need help, where I'm trying do one gui, where the minutes pass only on gui Example: Label: 1Minutes Label: In Progress The problem is when I put 2, will be auto-set "In Progress". Link to comment
Desaster Posted November 8, 2013 Share Posted November 8, 2013 try this : local MyMinutesCarshow = MyMinutes/60000 Link to comment
Hassam Posted November 8, 2013 Author Share Posted November 8, 2013 try this : local MyMinutesCarshow = MyMinutes/60000 No, didn't work, now when I put 1, this won't down, I don't know why.... And other thing, I want when arrive to 0 Minutes, set as In Progress Edit: I fixed the script Link to comment
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