qb-phone

Make qb-phone compatible with Quito-Boosting

Go to the file qb-phone/client/main.lua

Add below snippet to the file

RegisterNetEvent("qb-phone:client:TrackersNotify", function(title, text, duration)
    SendNUIMessage({
        action = "PhoneNotification",
        PhoneNotify = {
            title = title,
            text = text, 
            icon = "fa-solid fa-users-line",
            color = "#74ABD3",
            timeout = duration,
        },
    })
    TriggerServerEvent('qb-phone:server:SetPhoneAlerts', "trackers")
end)

Last updated