Events
A list of available events to interact with cd_dispatch3d from your scripts.
Note
These events are entirely optional and can be triggered as needed to integrate cd_dispatch3d with your own scripts or custom systems.
Client
Client-Side Events
Defined with
RegisterNetEventorAddEventHandlerin client files.Triggered using
TriggerEvent(if from client) orTriggerClientEvent(if from server).Run only on one player’s game client (the player’s PC).
Panic Button
Activates your panic alert.changeme
TriggerEvent('cd_dispatch:PanicButtonEvent')TriggerClientEvent('cd_dispatch:PanicButtonEvent', source)Toggle Quick View UI
Toggles the visibility of the quick view dispatch UI.
Hide Quick View UI
Hides the quick view dispatch UI.
Show Quick View UI
Shows the quick view dispatch UI.
Open Main Dispatch UI
Opens the main dispatch interface.
Responding
Marks the player as responding to a notification.
Disable GPS Tracker
Disables a player’s access to the dispatch system.
Enable GPS Tracker
Restores a player’s access to the dispatch system after being disabled.
Server
Server-Side Events
Defined with
RegisterServerEventorAddEventHandlerin server files.Triggered using
TriggerEvent(if from server) orTriggerServerEvent(if from client).Run on the server, not on any individual player’s game client.
Radio Channel Event
Used to update a player’s radio channel on the dispatch system. This event should be triggered from your radio resource whenever a player joins, leaves, or changes a radio channel.
Last updated
Was this helpful?

