Skip to main content

Dispatch — Server

GetResourceName

Returns the dispatchDispatchSystem that sends alerts and calls to emergency services (police, EMS, fire) when crimes or events occur. resource name.

local name = Bridge.Dispatch.GetResourceName()
-- Returns: string (always "default")

Description: Returns the name of the DispatchDispatchSystem that sends alerts and calls to emergency services (police, EMS, fire) when crimes or events occur. module resource. Used for internal identification. Always returns "default" for the built-in DispatchDispatchSystem that sends alerts and calls to emergency services (police, EMS, fire) when crimes or events occur. module.

SendAlert

Sends a dispatchDispatchSystem that sends alerts and calls to emergency services (police, EMS, fire) when crimes or events occur. alert from the server.

Bridge.Dispatch.SendAlert(data)

The data format is the same as the client version.