esx-community / esx_vangelico_robbery Goto Github PK
View Code? Open in Web Editor NEWLicense: GNU General Public License v3.0
License: GNU General Public License v3.0
RegisterServerEvent('esx_vangelico_robbery:gioielli')
AddEventHandler('esx_vangelico_robbery:gioielli', function()
local xPlayer = ESX.GetPlayerFromId(source)
xPlayer.addInventoryItem('jewels', math.random(Config.MinJewels, Config.MaxJewels))
end)
RegisterServerEvent('lester:vendita')
AddEventHandler('lester:vendita', function()
local _source = source
local xPlayer = ESX.GetPlayerFromId(_source)
local reward = math.floor(Config.PriceForOneJewel * Config.MaxJewelsSell)
xPlayer.removeInventoryItem('jewels', Config.MaxJewelsSell)
xPlayer.addMoney(reward)
end)
Anyone can fire these events without it even checking if they're started a robbery, leading to free money and ruined economies.
Instead of a real weapon you can also start the robbery with a jerrycan, please fix.
@esx_vangelico_robbery/server/esx_vangelico_robbery_sv.lua:15: in function 'CountCops'
@esx_vangelico_robbery/server/esx_vangelico_robbery_sv.lua:29: in main chunk
how do i fix this can someone help me
i keep getting this error
I can't sell my jewels anyone here got a fix?
The interior is not loading and we fall through the map
I've tried to fix this problem myself but cant get it to remove the blips because of the way they have been created.
The blips get removed fine if the robbery is completed but nit cancelled.
We tested this, it works great! although, when someone tried to rob the jewel store while on cooldown it triggers the alarm and doesn't stop. any way we could get this fixed?
Instead, do something like this...
function loadAnimDict(dict)
RequestAnimDict(dict)
while (not HasAnimDictLoaded(dict)) do
Citizen.Wait(0)
end
end
I cant find the __resource lua of the script.
Cant seem to get it to work with black money. Any help here?
When someone robs the jeweler and they break a window they don't get a jewel (I use the latest ESX)
if i go to lester to sell the jewels it wont sell
Hi, I'm not too sure if it conflicts with hold-up, but there is no floor in the jewerly store and you just keep falling down.
Thanks in advance
Sincerely; Bryan
I have set Config.NeedBag = false
but it still asks me for a bag when i try to rob store
Script has been shortened significantly on another repo from ESX-Public, Cant seem to find a version that adds the broken glass after smashed, any that fix blips as well as a timer, and allows multiple people robbing at the same time. If someone updates this could you switch it into requiring a mele weapon to break the glass instead of shooting in the doorway?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.