mirror of
https://github.com/jimathy/jim_bridge.git
synced 2026-08-17 05:56:02 +01:00
Add starting support for lation_ui
Added support for: - Menus - Draw Text - Notifications - Skillchecks - ProgressBar TODO: - Input dialogs
This commit is contained in:
@@ -62,6 +62,20 @@ function triggerNotify(title, message, type, src)
|
||||
else
|
||||
TriggerClientEvent(getScript()..":DisplayESXNotify", src, type, message)
|
||||
end
|
||||
elseif Config.System.Notify == "lation" then
|
||||
if not src then
|
||||
exports.lation_ui:notify({
|
||||
title = title,
|
||||
message = message,
|
||||
type = type or "success",
|
||||
})
|
||||
else
|
||||
TriggerClientEvent("lation_ui:notify", src, {
|
||||
title = title,
|
||||
message = message,
|
||||
type = type or "success",
|
||||
})
|
||||
end
|
||||
|
||||
elseif Config.System.Notify == "red" then
|
||||
if isStarted("jim-redui") then
|
||||
|
||||
Reference in New Issue
Block a user