Notifications & Text UI
Notification and Text UI are independent bridges.
Files:
client/bridge/notify.lua
server/bridge/notify.lua
client/bridge/textui.lua
server/bridge/textui.lua
Supported notification modes:
auto | ox | qb | esx | gta | custom
Supported Text UI modes:
auto | ox | gta | custom
Custom notification hook:
function NVKNotify.Custom(message, kind, duration, title)
-- show your notification
return true
end
Custom Text UI hooks:
function NVKTextUI.CustomShow(id, text, options)
-- show your UI
return true
end
function NVKTextUI.CustomHide(id)
-- hide your UI
return true
end
The recovery interaction uses this bridge instead of hardcoded GTA help text.