diff --git a/client/functions.lua b/client/functions.lua index e76a3b6..db45685 100644 --- a/client/functions.lua +++ b/client/functions.lua @@ -78,11 +78,7 @@ function NDCore.revivePlayer(reset, keepDead) end function NDCore.notify(...) - if GetResourceState("ModernHUD") == "started" then - exports["ModernHUD"]:notify(...) - elseif GetResourceState("ox_lib") == "started" then - lib.notify(...) - end + lib.notify(...) end for name, func in pairs(NDCore) do diff --git a/server/player.lua b/server/player.lua index 2281d21..21ed352 100644 --- a/server/player.lua +++ b/server/player.lua @@ -269,11 +269,7 @@ local function createCharacterTable(info) function self.notify(...) if not self.source then return end - if GetResourceState("ModernHUD") == "started" then - TriggerClientEvent("ModernHUD:notify", self.source, ...) - elseif GetResourceState("ox_lib") == "started" then - TriggerClientEvent("ox_lib:notify", self.source, ...) - end + TriggerClientEvent("ox_lib:notify", self.source, ...) return true end