Skip to content
NivoDocs

Search documentation

Nivo Dispatch

Usage

Exports

createAlert

Create an alert from any server-side resource.

exports.nivo_dispatch:createAlert({
  code = '10-71',
  title = 'Shots fired',
  priority = 1,
  coords = GetEntityCoords(GetPlayerPed(source)),
  jobs = { 'police' },
})

Events

nivo_dispatch:alertCreated

Fired on the server after an alert is created. Receives the alert table.

Commands

  • /dispatch: open the dispatch board (on-duty jobs only).
  • /911 <message>: send a call to police and EMS.