Client Exports

CreateDispatchNotify

It creates a dispatch notify

exports.dispatch:CreateDispatchNotify(title, description, jobName, coords)
  • title: string - Dispatch title

  • description: string - Dispatch description

  • jobName: string - The job that receive the dispatch notification

  • coords: vector3 - GPS coordinates to reach the signal


An example

RegisterCommand("test", function (source, args, raw)
    exports.dispatch:CreateDispatchNotify("Title 1", "Description", "police", GetEntityCoords(PlayerPedId()))
end)

Last updated