⚠️Dispatch
How To create a dispatch alert ?
RegisterCommand('alr', function()
local data = {
coords = GetEntityCoords(PlayerPedId()),
icon = 'fas fa-bullhorn',
title = 'Store Robbery',
message = 'Store Robbery in progress',
priority = 1
}
exports['zat-mdt']:Alert(data)
end)
RegisterCommand('alr2', function()
local data = {
coords = GetEntityCoords(PlayerPedId()),
icon = 'fas fa-bullhorn',
title = 'Maze Bank Robbery',
message = 'Maze Bank Robbery in progress',
priority = 3
}
exports['zat-mdt']:Alert(data)
end)
Last updated