Skip to content
This repository has been archived by the owner on Nov 22, 2021. It is now read-only.

esx_jewelrobbery

thelindat edited this page Feb 20, 2021 · 2 revisions

esx_jewelrobbery - server.lua

Find RegisterServerEvent('esx_JewelRobbery:policenotify') and replace

RegisterServerEvent('esx_JewelRobbery:policenotify')
AddEventHandler('esx_JewelRobbery:policenotify', function()
    local data = {displayCode = '211', description = 'Robbery', isImportant = 0, recipientList = {'police'}, length = '10000', infoM = 'fa-info-circle', info = 'Vangelico Jewelry Store'}
    local dispatchData = {dispatchData = data, caller = 'Alarm', coords = vector3(-633.9, -241.7, 38.1)}
    TriggerEvent('wf-alerts:svNotify', dispatchData)
end)
Clone this wiki locally