Hello, I am having trouble pausing/resuming some timers I have added to my program, the idea is to make a pause button , Here is a sample of the my code:
function pausaAc(e)  
 if pausaband then  
 if e.phase == "ended" then  
 pausaband = false  
 timer.pause(tmr)  
 for i=#topos,1,-1 do  
 if not (topos[i] == nil) then  
 topos[i]:pause()  
  
 timer.pause(topos[i].timer)  
  
 end  
 end  
 end  
 else   
 if e.phase == "ended" then  
 pausaband = true  
 timer.resume(tmr)  
 for i=#topos,1,-1 do  
 if not (topos[i] == nil) then  
 topos[i]:play()  
  
 timer.resume(topos[i].timer)  
  
 end  
 end  
 end  
 end  
 return true  
end  Problem is some timers arent paused and I get errors saying
I cant stop/resume a timer that is already expired
It will really help me if there is a way to know if a timer is active or paused. [import]uid: 127101 topic_id: 30258 reply_id: 330258[/import]
