Jump to content

getTimerDetails


Best-Killer

Recommended Posts

Posted
turftimes = setTimer ( sendTurfPayout, (60*tonumber(get("*PAYOUT_TIME")))*1000, 0 )
turftim = getTimerDetails(turftimes)
outputChatBox ( ""..turftim.."",p,255,0,0,true)

the timer is 1hour (3600) 

and i'm geting it in chatbox 3600000 

i want get it like 60 minute , 59 Minute , how i can do it ? 

Posted

turftimes = setTimer ( sendTurfPayout, (60*tonumber(get("*PAYOUT_TIME")))*1000, 0 )
local turftim,_,_ = getTimerDetails(turftimes)
local total = turftim / 60 / 1000
outputChatBox ( ""..total.." minutes",p,255,0,0,true)

 

  • Like 1

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...