Integration
🔌 Integrations
Welcome to the dots-dispatch integration guide. This section is designed for developers who want to connect their own scripts—such as robberies, emergency calls, or custom HUDs—directly into the dispatch ecosystem.
Our system is built to be modular and lightweight, offering both Exports and Net Events to ensure you can trigger alerts from almost any environment.
🚀 What can you do?
The integration suite provides three core pillars of functionality:
Trigger Alerts: Send rich, formatted dispatch notifications to specific jobs with custom blips and sounds.
Context Awareness: Programmatically retrieve the player's current street, road, weapon, and gender to build more immersive reports.
UI Control: Manually manage the visibility of the dispatch HUD while respecting job whitelists and item requirements.
💡 Choosing your Method
While we support multiple ways to communicate with the dispatch system, we recommend the following hierarchy:
Exports (Recommended): These are the most efficient and provide direct access to the functions.
Client Events: Useful for cross-script communication if you are not using exports.
Server Events: Best for broadcasting alerts from server-side logic (like database triggers or administrative actions).
Last updated