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

loffe_robbery

thelindat edited this page Feb 20, 2021 · 2 revisions

Find while robbing do Wait(0) if IsPedDeadOrDying(peds[i]) then robbing = false end end at line 257

Add the following code above it

local data = {displayCode = '211', description = 'Robbery', isImportant = 0, recipientList = {'police'}, length = '10000', infoM = 'fa-info-circle', info = Config.Shops[i].name}
local dispatchData = {dispatchData = data, caller = 'Alarm', coords = Config.Shops[i].coords}
TriggerServerEvent('wf-alerts:svNotify', dispatchData)
Clone this wiki locally