2022-04-11 15:59:18 +02:00
|
|
|
function lib.showTextUI(text, options)
|
|
|
|
|
if not options then options = {} end
|
|
|
|
|
options.text = text
|
|
|
|
|
SendNUIMessage({
|
|
|
|
|
action = 'textUi',
|
|
|
|
|
data = options
|
|
|
|
|
})
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
function lib.hideTextUI()
|
|
|
|
|
SendNUIMessage({
|
|
|
|
|
action = 'textUiHide'
|
|
|
|
|
})
|
|
|
|
|
end
|