LB Phone App

View the Sonoran CAD app in-game on LB Phone!

LB Phone App

LB Phone is a popular, in-game phone script for FiveM. LB Phone allows you to configure custom applications (like Sonoran CAD) to add and view on the in-game phone. LB Phone must be purchased from LB Scripts.

Activation Guide

1. Add the Custom App to LB

In the lb-phone/config/config.lua file, add a new entry to the array of Config.CustomApps.

The example below shows the Config.CustomApps with a single, custom Sonoran CAD application.

Custom Sonoran CAD App
Config.CustomApps = {
  -- START COPY HERE --
       ["sonorancad"] = { -- A unique identifier for the app, not shown to the user
        name = "Sonoran CAD", -- The name of the app, shown to the user
        description = "Sonoran CAD is a state of the art, cross-platform, computer automated dispatching and records management system for gaming communities", -- The description of the app, shown to the user
        developer = "Sonoran Software Systems", -- OPTIONAL the developer of the app
        defaultApp = false, -- OPTIONAL if set to true, app should be added without having to download it,
        game = false, -- OPTIONAL if set to true, app will be added to the game section
        size = 59812, -- OPTIONAL in kB
        images = { "https://is1-ssl.mzstatic.com/image/thumb/PurpleSource221/v4/7e/be/65/7ebe6512-9c4a-161f-8108-5a844e16914e/b916289b-fc06-49fe-9ae3-347c6f49a23d_activeunits.png/230x0w.webp", "https://is1-ssl.mzstatic.com/image/thumb/PurpleSource211/v4/40/cf/ba/40cfba85-925a-5b6b-ce46-e1164a13adb5/45ffeb07-5b14-47af-bf99-ebf3473f1188_customrec.png/230x0w.webp", "https://is1-ssl.mzstatic.com/image/thumb/PurpleSource211/v4/d9/b4/09/d9b40925-3b97-7bce-fa92-6c80644c21bb/b0ff740c-e590-499e-aada-fcdb7f818252_dispatch.png/230x0w.webp", "https://is1-ssl.mzstatic.com/image/thumb/PurpleSource211/v4/39/ab/e3/39abe3e6-2ae4-adde-6070-322601145326/ba8def97-a711-44cb-8303-bde8e066fe9d_integrations.png/230x0w.webp", "https://is1-ssl.mzstatic.com/image/thumb/PurpleSource221/v4/39/28/cc/3928cc44-4419-2177-b166-11a0a19b3498/a147df6d-ee3d-4f76-aa44-481da34d02de_livemap.png/230x0w.webp" }, -- OPTIONAL array of images for the app on the app store
        ui = "https://sonorancad.com/", -- OPTIONAL
        icon = "http://s3.sonorancad.com/icon_white_bkg.png", -- OPTIONAL app icon
        price = 0, -- OPTIONAL, Make players pay with in-game money to download the app
        landscape = false, -- OPTIONAL, if set to true, the app will be displayed in landscape mode
        keepOpen = true, -- OPTIONAL, if set to true, the app will not close when the player opens the app (only works if ui is not defined)
        onUse = function() -- OPTIONAL function to be called when the app is opened
            -- do something
        end,
        onServerUse = function(source) -- OPTIONAL server side function to be called when the app is opened
            -- do something
        end
    }
  -- END COPY HERE --
} -- https://docs.lbscripts.com/phone/custom-apps/

2. Restart LB Phone

Restart LB phone and you can now "install" Sonoran CAD on the LB Phone from the App Store.

Last updated

Was this helpful?