Build Right StudiosDocs

BRS Dispatch

Exports & events

Send calls from other resources and react to what happens on the board.

SendCall

Creates a call and alerts every job in jobs. Returns the call id.

client.lua
-- Create a call at the player's position
local callId = exports['brs-dispatch']:SendCall({
    code   = '10-71',
    title  = 'Shots fired',
    jobs   = { 'police' },
    radius = 50.0,
})
server.lua
-- Server side needs a position
local coords = GetEntityCoords(GetPlayerPed(source))

local callId = exports['brs-dispatch']:SendCall({
    code   = '10-90',
    title  = 'Store alarm',
    coords = vec3(coords.x, coords.y, coords.z),
    jobs   = { 'police' },
})
Field Type Required Description
code string Yes Radio code shown on the board.
title string Yes Short description of the call.
jobs string[] Yes Jobs that receive the call.
coords vector3 Server only Where the call is. Client calls use the player’s position.
radius number No Blip radius in metres. Default 0 (exact point).

Events

client.lua
AddEventHandler('brs-dispatch:callAccepted', function(callId, unit)
    if not unit then return end
    print(('Unit %s took call %s'):format(unit, callId))
end)
Event Side Arguments
brs-dispatch:callAccepted Client callId, unit
brs-dispatch:callClosed Server callId, reason
brs-dispatch:statusChanged Server source, status
Last updated 22 Nov 2026

Type to search every page in the docs.