Police Alerts
There are many ready-made functions that you can use directly, or you can create your own alert and link it with any theft script.
Custom Alert
departments
List of departments or hubs that will receive the alert (e.g., 'POLICE', 'EMS'). You can add multiple hubs.
title
Title of the alert notification or police 10 codes.
message
Custom message for the alert, including any varibles.
coords
Coordinates of the alert, retrieved from the player's current position.
priority
Priority level of the alert (1 = High, 3 = Low).
sound
Sound level associated with the alert (1 to 3).
reply
The source of the player who initiated the alert if the report requires a response to the person (used in 911 reports) (optional).
anonymous
Boolean to determine if the alert is anonymous. If set to true
, no blip will be added (optional).
street
Player street name
blip
Table defining the blip details for the alert on the map (not added if anonymous = true). If you do not want to add blip, delete this blip array.
sprite
colour
scale
The size of the blip: 0.1-2.0
.
text
Text label associated with the blip (English).
info
Additional custom information, including icons and descriptive text only showing in Respond Calls logs.
Ready Alerts Functions
Panic Button
Store Robbery
House Robbery
Truck Robbery
Fleeca Robbery
Bobcat Robbery
Vangelico Robbery
Paleto Robbery
Pacific Robbery
Union Robbery
Vehicle Robbery
Last updated