📖
Quito Roleplay Scripts | Docs
StoreSupport
  • Welcome!
  • 🚘Quito-Boosting
    • Introduction
    • Installation
    • Configuration
    • Integrations
      • qb-phone
  • 🚗Quito-Driverslicense
    • Introduction
    • Installation
    • Configuration
  • 🚌Quito-Busdriver
    • Introduction
    • Installation
    • Configuration
Powered by GitBook
On this page
  1. Quito-Boosting
  2. Integrations

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 1 year ago

🚘