Hi i maded daily reward system and i also maked checker that count how long player must wait until they can claim it again.
From {remaining.time} im getting for example 17 hours and 42.85 minutes and i want to remove the decimal part or the number. (sorry for bad english)
Code:
set {timetowait} to difference between {dailyrewardcooldown::%player%} and now
set {remaining.time} to difference between {timetowait} and 24 hours
send "%{prefix}%&cYou cant claim daily reward! You must wait %{remaining.time}%!"
From {remaining.time} im getting for example 17 hours and 42.85 minutes and i want to remove the decimal part or the number. (sorry for bad english)