Notify

Built-in system notification

FD.Notify = function(message, type, time)
    if Config.Framework == 'esx' or Config.Framework == 'oldesx' then
        TriggerEvent("esx:showNotification", message)
    elseif Config.Framework == 'qb' or Config.Framework == 'oldqb' then
        TriggerEvent('QBCore:Notify', message, type, time or 3000)
    else
        -- Add Functions Here
    end
end

Last updated