Interface
Timer

Key Text UI

This is just a nice UI with a timer that executes an action when finished

Preview imagem

Client exports

Show Timer

exports.mt_lib:showTimer(label, time, position, onFinish)
  • label: string
    • UI Label
  • time: number
    • Timer time (in seconds)
  • position: string
    • UI Position on screen: left | right | bottom | top
  • onFinish: function
    • Function to execute when finishing the countdown

Hide Text UI

exports.mt_lib:hideTextUI()