๐Snippets
Change the ox_lib notifications to Origen Notify:
function lib.notify(data)
local text = data.description or data.title or ''
local notifyType = data.type or 'info'
local duration = data.duration or 3000
exports["origen_notify"]:ShowNotification(text, notifyType, duration)
endChange the ox_lib TextUI for Origen Notify HelpNotify
function lib.showTextUI(text, options)
if currentText then return end
options = options or {}
local key = options.key or 'E'
currentText = exports["origen_notify"]:CreateHelp(key, text)
isOpen = true
endLast updated