Alex1002 Posted July 11, 2016 Share Posted July 11, 2016 Hallo, its a simple Question… Question: How i can get the current Time with getMissionTimerTime(TIMER) if looks like this if getTimerMission(Timer) == 0 then … end M.f.G Alex.W Link to comment
Captain Cody Posted July 11, 2016 Share Posted July 11, 2016 function getMissionTimerTime (timer) local remaining = getTimerDetails(timer) return remaining end Link to comment
Alex1002 Posted July 11, 2016 Author Share Posted July 11, 2016 @CodyL: thank you. I forgod post this link: https://wiki.multitheftauto.com/index.php?title=Resource:Missiontimer I use that resource for my Map-Mission Timer (missiontimer). Question: how its to do, its be look with: if … then … end M.f.G Alex.W Link to comment
Captain Cody Posted July 11, 2016 Share Posted July 11, 2016 function checkTimer(timer) if getMissionTimerTime (timer) < 1 then killtimer(timera) --- Continue on here. end end timera = setTimer ( checkTimer, 1000, 0,timer ) 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