forked from Simnation/Main
ed
This commit is contained in:
parent
875c8448e1
commit
c81ae4bb6d
219 changed files with 8036 additions and 7 deletions
23
resources/[tools]/bl_bridge/client/textui/esx.lua
Normal file
23
resources/[tools]/bl_bridge/client/textui/esx.lua
Normal file
|
@ -0,0 +1,23 @@
|
|||
---@diagnostic disable: lowercase-global
|
||||
local esx_textui = exports['esx_textui']
|
||||
local open = false
|
||||
local textui = {}
|
||||
|
||||
---@param text string
|
||||
---@param position? TextUIOptions
|
||||
function textui.showTextUI(text, position)
|
||||
esx_textui:TextUI(text)
|
||||
open = true
|
||||
end
|
||||
|
||||
function textui.hideTextUI()
|
||||
open = false
|
||||
esx_textui:HideUI()
|
||||
end
|
||||
|
||||
---@return boolean
|
||||
function textui.isTextUIOpen()
|
||||
return open
|
||||
end
|
||||
|
||||
return textui
|
Loading…
Add table
Add a link
Reference in a new issue