> For the complete documentation index, see [llms.txt](https://maxifaxipaxi-1.gitbook.io/mfpscripts-fivem-discontinued/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://maxifaxipaxi-1.gitbook.io/mfpscripts-fivem-discontinued/lb-phone/lb-dispatches.md).

# Dispatches-App for LB-Phone

Get it here: [**https://mfp.tebex.io/package/6833336**](https://mfp.tebex.io/package/6833336)

**Requirements**:

* [LB-Phone](https://lbphone.com/) \[LB-Docs: <https://docs.lbphone.com/>]

**Installation**:

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

**Config**:

```lua
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
}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://maxifaxipaxi-1.gitbook.io/mfpscripts-fivem-discontinued/lb-phone/lb-dispatches.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
