Add support for built in nui menu

This commit is contained in:
Jim Shield
2025-04-20 19:17:40 +01:00
parent 842379e8f9
commit 738e11c8e3
7 changed files with 594 additions and 77 deletions

View File

@@ -70,13 +70,6 @@ function triggerNotify(title, message, type, src)
TriggerClientEvent(getScript()..":DisplayESXNotify", src, type, message)
end
elseif Config.System.Notify == "jim" then
if not src then
exports["jim-nui"]:Notify(type, message)
else
TriggerClientEvent("jim-nui:client:notify'", src, type, message)
end
elseif Config.System.Notify == "red" then
if isStarted("jim-redui") then
if not src then