Police Alerts
Custom Alert
local playerData = exports['l2s-dispatch']:GetPlayerData()
TriggerServerEvent('l2s-dispatch:server:AddNotification', {
departments = {'POLICE', 'EMS'},
title = 'Alert Title Here',
message = playerData.sex..' was testing new alert',
coords = vec2(playerData.coords.x, playerData.coords.y),
priority = 1,
sound = 1,
street = playerData.street,
reply = playerData.source,
anonymous = false,
blip = {
sprite = 52,
colour = 1,
scale = 1.0,
text = '10-15 - Custom Alert',
},
info = {
{icon = 'video', text = 'first'},
{icon = 'person', text = playerData.sex},
},
})Variable Name
Description
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