Support Board
Date/Time: Sun, 19 Jan 2025 03:09:05 +0000
Post From: CountDown Timer - time remaining
[2018-03-14 00:25:39] |
pnf101 - Posts: 7 |
Yeah, basically did that, here's the snipped in case anyone is interested: //Tool.Text.Format("%s ", sc.GetCountDownText().GetChars()); <- commented out the original logic SCString StrRemainingTime; int minutes = sc.GetLatestBarCountdownAsInteger() / 60; int seconds = sc.GetLatestBarCountdownAsInteger() % 60; if (minutes) StrRemainingTime.Format("%dm %ds", minutes, seconds); else StrRemainingTime.Format("%ds", seconds); Tool.Text = StrRemainingTime; |