🌐
MFPSCRIPTS- Documentation
  • πŸ”Documentation
  • 🐌Scripts
    • πŸ“±PhoneBattery
      • βš™οΈInstallation
      • ☎️Addidtional Phones
        • πŸ“±RoadPhone
        • πŸ“±GCPhone
        • πŸ“±HighPhone
        • πŸ“±D-Phone
        • πŸ“±NPWD
    • πŸ’ΈBanking
      • βš™οΈInstallation
    • πŸš”Policejob
      • βš™οΈInstallation
      • πŸ”—Script Intergrations
      • πŸ‘¨β€πŸ’»Developers
    • 🚧Progressbar
    • ℹ️Notification
    • πŸ—‘οΈScrapyard
    • 🎬HUD
    • πŸ—ΊοΈAdvancedBlips
  • πŸ₯©Additional
    • βš™οΈINSTALL SCRIPTS
    • πŸ“΄FiveStatus
  • 🚫General Errors
    • πŸ“€es_extended
  • LB-Phone
    • πŸ“²Dispatches-App for LB-Phone
    • πŸ“²Games-App for LB-Phone
Powered by GitBook
On this page
  1. LB-Phone

Dispatches-App for LB-Phone

This is a custom app for the LB-Phone. It works by simply running the script and does not require much knowledge. The function of the app is to display any website on the phone. Here is intentionally.

Previouses_extendedNextGames-App for LB-Phone

Last updated 14 days ago

Get it here:

Requirements:

  • [LB-Docs: ]

Installation:

Just start the script. It will be added automaticly to your appstore!

Config:

Config = {}

----------- App Settings -------
Config.AppName = "SOS"
-- Displayed Name for OS & AppStore
Config.Description = "Sende Notrufe an das LSPD, LSMD oder Bennys"
-- Displayed Description for AppStore
Config.DefaultApp = true
-- 'true' sets App Pre-Installed, 'false' requires download via AppStore
Config.Size = 52812
-- Sets App Size for Storage Usage from Phone
Config.Images = {}
-- Displayed Images in AppStore, 
-- Usage: {"https://link.com/example.png", "https://link.com/example2.png"}


----------- FRAMEWORK & SCRIPTS -------
Config.Framework = 'auto'
-- 'auto' for auto selection
-- 'qb-core' for qbcore
-- 'esx' for aty_dispatch
-- 'custom' for own framework

Config.Locale = 'de' -- see folder: locales/*lua for all translations
-- Constribute on adding your own translation at: https://github.com/mfpscripts/TRANSLATIONS

Config.Jobs = {
    police = 'police',
    ambulance = 'ambulance',
    mechanic = 'mechanic'
    
    -- 'police' sets police job name
    -- 'ambulance' sets ambulance/fire job name
    -- 'mechanic' sets mechanic/bennys job name
}

------------ DISPATCH & SETTINGS --------
Config.TimeOut = 10 -- in seconds, until the message button can be used again to send dispatch
Config.CallCode = "10-19"
Config.DispatchSystem = 'lb-tablet'
-- 'framework' for default core dispatch
-- 'lb-tablet' for LB-Tablet (only Police & Ambulance, others are using framework!)
-- 'qs-dispatch' for Quasar Dispatch
-- 'aty' for aty_dispatch
-- 'cd_dispatch' for cd_dispatch
-- 'custom' for custom script

Config.Notification = 'lb-phone'
-- 'lb-phone' uses lb-app-notifications
-- 'framework' uses framework related notify
-- 'mfp' uses mfp notifications
-- 'lux' uses lux notifications
-- 'custom' uses SendCustomNotify

function SendCustomNotify(title, message)
    -- add your own here
end

Config.useCustomDispatchClientside = true
-- false if you want this to be serverside, default true
function SendCustomDispatch(job, pos, message)
    -- add your own here
end

------------ BLIPS ---------
Config.Blip = {
    sprite = 526,
    scale = 1.5,
    colour = 1,
    time = 300

    -- 'label' sets Blip Label text
    -- 'sprite' sets Blip icon type
    -- 'scale' sets Blip scale
    -- 'colour' sets Blip color
    -- 'time' sets Blip time until it disapears from map
}

https://mfp.tebex.io/package/6833336
LB-Phone
https://docs.lbphone.com/
πŸ“²
Page cover image