1
0
Fork 0
forked from Simnation/Main
This commit is contained in:
Nordi98 2025-06-25 00:04:15 +02:00
parent be02d05ba8
commit fc7ea910e9
35 changed files with 11992 additions and 1 deletions

View file

@ -0,0 +1,26 @@
---@param label string
---@param key string
---@param position string
local showTextUI = function(label, key, position)
SendNUIMessage({
action = 'textUI',
data = {
label = label,
key = key,
position = position,
}
})
SendNUIMessage({
action = 'setVisibleTextUI',
data = true
})
end
exports("showTextUI", showTextUI)
local hideTextUI = function()
SendNUIMessage({
action = 'setVisibleTextUI',
data = false
})
end
exports("hideTextUI", hideTextUI)