Installation
function QBCore.Functions.Notify(text, texttype, length)
exports['ph-notify']:Notify(texttype or 'info', 'SYSTEM', text, length)
end-- Simple Info
exports['ph-notify']:Notify('info', 'SYSTEM', 'Welcome to the server!')
-- Warning with custom time
exports['ph-notify']:Notify('warning', 'FUEL', 'Your tank is almost empty.', 7000)function ESX.ShowNotification(text, texttype, length)
exports['ph-notify']:Notify(texttype or 'info', 'SYSTEM', text, length)
endESX.ShowNotification('Hello from ESX!', 'success')
Option 2 — Custom ESX Notify Function (safer)Last updated