πŸ“€Dispatch

A modern take on dispatch calls. Allows servers to send notifications to jobs and include zone-based restrictions if they want.

AddCall

A server function to add a call for a job

Parameter
Required
Type
Description

callObj

Object

A call definition containing all information about a dispatch call.

-- Server
TMC.Functions.TriggerEvent('dispatch:server:addCall', {
    title = "A title!",
    description = "Some longer description",
    jobType = 'jobType',
    position = vector3(0, 0, 0),
    urgency = 1,
    limits = {}
})

-- Client
TMC.Functions.TriggerServerEvent('dispatch:server:addCall', {
    title = "A title!",
    description = "Some longer description",
    jobType = 'jobType',
    position = vector3(0, 0, 0),
    urgency = 1,
    limits = {}
})

Call Object Definition

Last updated