diff --git a/shared/shared.lua b/shared/shared.lua index 4b0509a..c7c81f0 100644 --- a/shared/shared.lua +++ b/shared/shared.lua @@ -51,6 +51,9 @@ function triggerNotify(title, message, type, src) elseif Config.Notify == "rr" then if not src then exports.rr_uilib:Notify({msg = message, type = type, style = "dark", duration = 6000, position = "top-right", }) else TriggerClientEvent("rr_uilib:Notify", src, {msg = message, type = type, style = "dark", duration = 6000, position = "top-right", }) end + elseif Config.Notify == "ox" then + if not src then exports.ox_lib:notify({title = title, description = message, type = type or "success"}) + else exports.ox_lib:notify({title = title, description = message, type = type or "success"}) end end end