🔃Server
takeMugshot
isWanted
getUserPatrol
AddDispatchCall
title
string
The title of the dispatch call that will be visible in the MDT.
description
string
The description of the dispatch call providing detailed information about the incident.
showCitizen
string
Specifies what citizen information to display: "name"
for full name or "gender"
for gender.
blip
table
Contains map location data for the dispatch call. It includes the following sub-fields:
duration
number
Time (in milliseconds) after the dispatch notification will be deleted. If an officer is still responding to the call after this time, it will be deleted after the last officer has stopped responding.
blip.coords
vec3
Coordinates for the exact location on the map. Defaults to the player's current location if not provided.
blip.radius
number
The radius around the coords
where the blip will appear. If provided, the blip will appear randomly within this radius.
blip.color
number
blip.sprite
number
blip.scale
number
The scale of the blip, determining its size on the map.
code
table
The dispatch code and the color it will be displayed in. It includes the following sub-fields:
code.code
string
The dispatch code, such as "10-91"
. This is typically a standard code used in the dispatch system.
code.color
string
The color associated with the dispatch code. This can be any valid color string (e.g., "pink"
, "red"
).
sound
string
The sound that plays when the dispatch call is received. If not provided, the default is "default"
. You can add sounds by adding .mp3
file into pp-mdt/web/build/public/sounds
flash
boolean
Determines if the notification should flash on the screen.
weapon
string
Information about any weapon involved in the dispatch call.
AddDashcam
Last updated