input compat fixes

This commit is contained in:
Jim Shield authored and GitHub committed 2025-03-11 22:41:13 +00:00
1 parent 83ba74bc12
commit 2572f86030
7 files changed
+106 -32

No files matched your search

+7
View File
@@ -61,6 +61,13 @@ function triggerNotify(title, message, type, src)
else
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
end
end