π§ Installation
-- vt-artheist
['paintinge'] = {['name'] = 'paintinge', ['label'] = 'Collectible painting', ['weight'] = 30, ['type'] = 'item', ['image'] = 'paintinge.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = false, ['combinable'] = nil, ['description'] = 'Great collectors painting, dont lose it because it costs money.'},
['paintingi'] = {['name'] = 'paintingi', ['label'] = 'Collectible painting2', ['weight'] = 30, ['type'] = 'item', ['image'] = 'paintinge2.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = false, ['combinable'] = nil, ['description'] = 'Great collectors painting, dont lose it because it costs money.'},
['paintingh'] = {['name'] = 'paintingh', ['label'] = 'Collectible painting3', ['weight'] = 30, ['type'] = 'item', ['image'] = 'paintinge3.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = false, ['combinable'] = nil, ['description'] = 'Great collectors painting, dont lose it because it costs money.'},
['paintingj'] = {['name'] = 'paintingj', ['label'] = 'Collectible painting4', ['weight'] = 30, ['type'] = 'item', ['image'] = 'paintinge4.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = false, ['combinable'] = nil, ['description'] = 'Great collectors painting, dont lose it because it costs money.'},
['paintingf'] = {['name'] = 'paintingf', ['label'] = 'Collectible painting5', ['weight'] = 30, ['type'] = 'item', ['image'] = 'paintinge5.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = false, ['combinable'] = nil, ['description'] = 'Great collectors painting, dont lose it because it costs money.'},
['paintingg'] = {['name'] = 'paintingg', ['label'] = 'Collectible painting6', ['weight'] = 30, ['type'] = 'item', ['image'] = 'paintinge6.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = false, ['combinable'] = nil, ['description'] = 'Great collectors painting, dont lose it because it costs money.'},['thermite'] = {['name'] = 'thermite', ['label'] = 'Thermite', ['weight'] = 1000, ['type'] = 'item', ['image'] = 'thermite.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Sometimes you\'d wish for everything to burn'},local function VTArtHeistRobbery()
local currentPos = GetEntityCoords(PlayerPedId())
local locationInfo = getStreetandZone(currentPos)
local gender = GetPedGender()
TriggerServerEvent("dispatch:server:notify",{
dispatchcodename = "artheistrobbery", -- has to match the codes in sv_dispatchcodes.lua so that it generates the right blip
dispatchCode = "10-88",
firstStreet = locationInfo,
gender = gender,
model = nil,
plate = nil,
priority = 2, -- priority
firstColor = nil,
automaticGunfire = false,
origin = {
x = currentPos.x,
y = currentPos.y,
z = currentPos.z
},
dispatchMessage = "ArtHeist Robbery", -- message
job = {"police"} -- jobs that will get the alerts
})
end exports('VTArtHeistRobbery', VTArtHeistRobbery)Last updated