Good day I need help on my timer
right now when I execute “event.time” with 2 of my timers, It displays the same.
sample:
local function timerA(event) print("TIMER A : ".. event.time) end timer.performWithDelay(1000, timerA, 0 ) local function timerB(event) print("TIMER B : ".. event.time) end local function startTimerB(event) timer.performWithDelay(1000, timerB, 0 ) end timer.performWithDelay(5000, startTimerB, 1 )
Both will have the same value. Even though Timer B has started late. How can I make both timers have it’s own “event.time”