Timer question

Would their be any way to change it where timer.TimeLeft didn’t print out a decimal/float But just a plain number?

math.Round( timer.TimeLeft( “blah” ) )

Round is a GLua function so it’s
math.Round()

Same thing applies however

thanks for the help!

And also I have a Problem with darkrp.notify This is my code:


DarkRP.notify( ply, n1, 3, "You have", math.Round(timer.TimeLeft( "Cooldown" )), "More seconds until you can us this again!" )

And for some reason it only says “you have” so maybe it isnt getting the timer that way, Any suggestions on how to fix this?

Change it to


"You have" .. math.Round(timer.TimeLeft( "Cooldown" )) .. "more seconds until you can use this again!"