diff --git a/[esx]/es_extended/client/functions.lua b/[esx]/es_extended/client/functions.lua index bc17b92b..707dcd50 100644 --- a/[esx]/es_extended/client/functions.lua +++ b/[esx]/es_extended/client/functions.lua @@ -78,7 +78,13 @@ function ESX.SetPlayerData(key, val) end function ESX.ShowNotification(message, type, length) - exports["esx_notify"]:Notify(type, length, message) + if Config.NativeNotify then + BeginTextCommandThefeedPost('STRING') + AddTextComponentSubstringPlayerName(msg) + EndTextCommandThefeedPostTicker(0,1) + else + exports["esx_notify"]:Notify(type, length, message) + end end function ESX.ShowAdvancedNotification(sender, subject, msg, textureDict, iconType, flash, saveToBrief, hudColorIndex)