Installation

Dependencies

QBCore Framework ps-dispatch - (https://github.com/Project-Sloth/ps-dispatch) ps-ui - (https://github.com/Project-Sloth/ps-ui) QB & OX Target Support qb-target or ox_target


How to install

Drag the script in your folder

Add the following item to yourinventory/data/items.lua QBCore users to qbcore/shared/items.lua Add the item image to your inventory/images

If you are using a different inventory then literally create the same item for your custom inventory.

-- ATM Rob Gatecrack (Check gatecrack item before you add)
gatecrack = {
    name = 'gatecrack',
    label = 'Gatecrack',
    weight = 10,
    type = 'item',
    image = 'usb_device.png',
    unique = false,
    useable = false,
    shouldClose = true,
    combinable = nil,
    description = 'A useful software to knock down some fences'
},

-- ATM Rob C4
atm_c4 = {
    name = 'atm_c4',
    label = 'C4',
    weight = 100,
    type = 'item',
    image = 'weapon_stickybomb.png',
    unique = false,
    useable = false,
    shouldClose = true,
    combinable = nil,
    description = 'Do not use it for bad things'
},

Police Alert

QBCore users has the opportunity to configure there own custom dispatch alert or just simple use the already created dispatch alert.

Config.UseCustomAlert = false   -- If true you can use your own custom export below
Config.DispatchAlert = function()
    -- Add your own custom alert export
    -- EXAMPLE:
    -- exports['ps-dispatch']:SignRobbery()
end

ESX users also can use custom dispatch exports or use what has already been integrated.

Config.DispatchAlert = function()
    exports['ps-dispatch']:SignRobbery()
end

Last updated