Fory Posted April 1, 2021 Share Posted April 1, 2021 Hello everyone! I would ask help, how id would be able to make it with what how drawdxtext announces it-in that: Start of competition 8:55 minutes left , unfortunately the drawdxtext i never could together to make friends but i would love now. thank you... Link to comment
Moderators IIYAMA Posted April 2, 2021 Moderators Share Posted April 2, 2021 17 hours ago, Fory said: unfortunately the drawdxtext i never could together to make friends but i would love now. local endTime = 0 function drawTime () local timeNow = getTickCount() if timeNow < endTime then local remainingTime = endTime - timeNow dxDrawText("remainingTime:" .. remainingTime, 300, 300) else -- (re)set endTime = timeNow + 60000 end end addEventHandler("onClientRender", root, drawTime) A small example. You have to make the code iterations yourself. 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