--------------------------------------------------------------- ----------------For support, scripts, and more---------------- --------------- https://discord.gg/wasabiscripts ------------- --------------------------------------------------------------- local wasabi_uikit, uikitFound = GetResourceState('wasabi_uikit'), false if wasabi_uikit == 'started' or wasabi_uikit == 'starting' then uikitFound = true end local textUI = false -- Show text UI function WSB.showTextUI(msg, options) if GetResourceState('ox_lib') == 'started' then textUI = msg return exports.ox_lib:showTextUI(msg, options) end textUI = msg return ShowTextUI(msg, options) end -- Hide text UI function WSB.hideTextUI() if GetResourceState('ox_lib') == 'started' then textUI = false return exports.ox_lib:hideTextUI() end textUI = false return HideTextUI() end -- Checking for text UI function WSB.isTextUIOpen() return textUI and true or false, textUI or false end exports('showTextUI', WSB.showTextUI) exports('hideTextUI', WSB.hideTextUI) exports('isTextUIOpen', WSB.isTextUIOpen)