Text Ui
lib.showTextUI(text, options)text:
stringoptions?:
tableposition?:
'right-center'or'left-center'or'top-center'Default:
'right-center'
icon?:
stringortable(array)iconColor?:
stringstyle?: React.CSSProperties
lib.hideTextUI
lib.hideTextUI()Usage Example
lib.showTextUI('[E] - Fuel vehicle')
Custom styling
lib.showTextUI('[E] - Pick apple', {
position = "top-center",
icon = 'hand',
style = {
borderRadius = 0,
backgroundColor = '#48BB78',
color = 'white'
}
})
Last updated