Server Exports
CreateDispatchNotify
It creates a dispatch notify
exports.dispatch:CreateDispatchNotify(title, description, jobName, coords, source)
title:
string
- Dispatch titledescription:
string
- Dispatch descriptionjobName:
string
- The job that receive the dispatch notificationcoords:
vector3
- GPS coordinates to reach the signalsource:
number
- Player's ID
An example
local source = source
local xPlayer = ESX.GetPlayerFromId(source)
exports.dispatch:CreateDispatchNotify("Title", "description", "police", xPlayer.coords(true), source)
Last updated