Using Exports

exports["ps-dispatch"]:CustomAlert({
    coords = vector3(0.0, 0.0, 0.0),
    message = "Criminal Activity",
    dispatchCode = "10-4 Rubber Ducky",
    description = "Blip Name here",
    radius = 0,
    sprite = 64,
    color = 2,
    scale = 1.0,
    length = 3,
})

Table Arguements:

displayCode -- The code for the alert ( 10-4, 10-11, 400-9, etc)
message -- Alert message
gender -- TRUE/FALSE  to enable gender data on the alert
plate  -- Plate of a vehicle
priority -- Priority of the alert
firstColor -- Color of the vehicle
automaticGunfire -- TRUE/FALSE Automatic weapon
camId -- Camera ID
callsign -- Callsign on the player
name -- Name of the player
doorCount -- Number of doors the vehicle has
heading -- Heading of an entity
description -- Name of the blip 
radius -- if the blip has a radius
recipientList -- { "police", "ems", "pbso" } Jobs that get the alert 
blipSprite -- Blip Sprite
blipColour -- Blip Color
blipScale -- Blip Color 
blipLength -- Blip Length : How long it stays on the map
offset -- Offset of the blip
blipflash -- If the blip flashes or not
sound -- GTA sound to play 
sound2 -- GTA sound to play

Default Examples

qb-bankrobbery/client/fleeca.lua

Find: Around line 273

Replace for:

qb-bankrobbery/client/pacific.lua

Find: Around Line 51 & Line 93

Replace for:

qb-bankrobbery/client/paleto.lua

Find: Around Line 42

Replace for:

qb-storerobbery/client/main.lua

Find: Around Line 90

Replace for:

Find for: Line 151 & 168

Replace for:

Default qb-jewelery

qb-jewelery/client/main.lua

Find: Around Line 82

Replace for:

Find: Around Line 54

Replace for:

Last updated