For the complete documentation index, see llms.txt. This page is also available as Markdown.

SU.Time.GetClockMinutes

SU Library: ab Version 0.7.0

SU.Time.GetClockMinutes(floatingPoint=0)

Gibt die Minutenanzahl der Uhr rechts oben zurück

⇒ siehe SU.Time.GetTotalMinutes

Parameter

  • floatingPoint (optional): 0 abgerundete Ganzzahl (z.B. 2 Minuten), 1 Gleitkommazahl (z.B. 2,345 Minuten)

Rückgabewert

  • Minutenanzahl der Uhr (z.B. 1:59:59 Spielzeit liefert 59 [oder 59.99 mit floatingPoint=1])

  • -1: Fehler

Beispiel

local passedMinutesFloatingPoint = SU.Time.GetClockMinutes(1)    -- 324.93
local passedMinutes = SU.Time.GetClockMinutes()    -- 324

Last updated