Retro Dispatch
This section contains commands, events, and exports related to the script that you should be aware of. These are detailed separately for the client and server.
Key Bindings Default key assignments and meanings.
Client Event & Exports Client-side exports and event definitions
Key Bindings
Section titled โKey BindingsโKey bindings can be customized for each player in GTA 5 Settings > Keybinds > Fivem. These values are set by default. These key assignments will be active when using the script for the first time after initial setup.
| Action | Default Key |
|---|---|
| Open Dispatch: | [F10] |
| Open/Close Dispatch Cursor: | [F11] |
Client Event & Exports
Section titled โClient Event & ExportsโPlease ensure you follow this example to avoid any issues when attempting to send alerts.
local data = { code = 'A-12', title = 'House Robbery', icon = 'FaHouseChimneyCrack', -- for icons -> https://react-icons.github.io/react-icons/icons/fa6/ details = {}, jobs = { ['police'] = true, ['sheriff'] = true }}
-- Exportexports['rs_dispatch']:sendAlert(data)-- EventTriggerEvent('rs-dispatch:client:sendAlert', data)If you would like to enter details when sending a alert, or if you would like to learn how the detail system works
TriggerEvent('rs-dispatch:client:sendAlert', { code = 'A-12', title = 'House Robbery', icon = 'FaHouseChimneyCrack', -- for icons -> https://react-icons.github.io/react-icons/icons/fa6/ details = { -- it must be array { id = 'UNIQUE_ID', -- id must be unique icon = 'FaMask', label = 'The appearance of the robbers', value = { { 'They are wearing a mask', 'In black' }, { 'They are wearing a baggie jeans', 'In blue' } } -- You can delete and add as many details as you wish. } }, jobs = { ['police'] = true, ['sheriff'] = true }})