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