Exports

A list of available exports for integrating with cd_dispatch3d.

Note

These exports are entirely optional and can be used as needed within your own scripts or integrations.


Client

Get Player Info

Returns useful information about a player that can be used to create new dispatch notifications.

@parameters
--- @return table data A table containing the players data.
--- @example
--- local data = exports['cd_dispatch']:GetPlayerInfo()
---
--- print(json.encode(data))
local data = exports['cd_dispatch3d']:GetPlayerInfo()


Get All Dispatch Notifications

Returns all active dispatch notifications.


Get Player’s Dispatch Data

Returns a player’s dispatch-related character data (e.g., callsign, character name, and status).


Get Config

Returns all configuration data from the dispatch’s config.lua file.


Server

Get All Dispatch Notifications

Returns all active dispatch notifications.


Get Player’s Dispatch Data

Returns a player’s dispatch character data, such as callsign, character name, and status.


Get Config

Returns all configuration data from the dispatch’s config.lua file.

Last updated

Was this helpful?