First off big thanks to AV for releasing this script for free.
I have done some changes and modifications to the script to improve on it:
*Each breakable stand is now synced with other players so multiple players cant rob the same stand multiple times.
*Fixed robbery status being synced i.e all clients can now rob a stand where as before only the owning client could
*Updated some variable names to english (for easier reading for myself and others going forward)
*Fix’s on timer calcs but planning on switching this server side in the near future
*Fixed animations going through the glass when smashing them and also thermite animation
*Changed smoke colour (can change it back in the client script if you want the orange smoke)
*Updated the particles so they despawn, previously would stay there forever or until script restart *some other minor changes here and there
the default items is bread and water, this can be seen in the config file, you can change these items and add new items to your database for what you would like to give the person doing the robbery and yes this works with v1.1, v1.2 and v1F
Yea for some reason the air vent blip is not showing up for me and there is nothing in the actual shop that starts the robbery like i went to the air vents and theres nothing there at all
yes however uses esx base notification for this you could change to outlaw alerts or what ever alert system which you use
client.lua line 302:
RegisterNetEvent(‘av_vangelico:notify’)
AddEventHandler(‘av_vangelico:notify’, function()
if PlayerData.job.name == Config.PoliceJobName then
ESX.ShowNotification(Config.Lang[‘police’])
blipRobbery = AddBlipForCoord(-632.39, -238.26, 38.07)
SetBlipSprite(blipRobbery, 161)
SetBlipScale(blipRobbery, 2.0)
SetBlipColour(blipRobbery, 3)
PulseBlip(blipRobbery)
Wait(60000)
RemoveBlip(blipRobbery)
end
end)