Usage
Player Usage Guide
Developer & Customization Notes
Developer API (Exports & Events)
Client-Side Export
exports["aty_dispatchv2"]:SendDispatch({
title = "Bank Robbery", -- Required: Title of the dispatch
code = "10-90", -- Required: Dispatch code
blipType = 161, -- Optional: Blip sprite ID (default: 1)
blipName = "Bank Robbery", -- Optional: Name of the blip on the map
icon = "shooting-bg.svg", -- Optional: Icon for the UI (default: officer-bg.svg)
urgent = true, -- Optional: Emphasizes the dispatch in the UI
isUnknown = true, -- Optional: Hides the player's name and shows "Unknown"
jobs = {"police", "sheriff"}, -- Optional: Specific jobs that will receive this dispatch
coords = vector3(x, y, z), -- Optional: Custom coordinates (defaults to player pos)
colors = {"FFFFFF", "FFFFFF"} -- Optional: Hex gradients for the UI (defaults to job colors)
})Server & Client Events
Last updated