Client Exports
CreateDispatchNotify
It creates a dispatch notify
exports.dispatch:CreateDispatchNotify(title, description, jobName, coords)
title:
string
- Dispatch titledescription:
string
- Dispatch descriptionjobName:
string
- The job that receive the dispatch notificationcoords:
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