Coder Social home page Coder Social logo

esx_vangelico_robbery's People

Contributors

rex2630 avatar sersediore avatar zwinkadink avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

esx_vangelico_robbery's Issues

Insecure server events allow anyone to spawn in free money

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.

error

@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

Jewl blips dont get removed on cancel robbery

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.

Alarm Staying On

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?

resource

I cant find the __resource lua of the script.

Black money

Cant seem to get it to work with black money. Any help here?

jewellery

When someone robs the jeweler and they break a window they don't get a jewel (I use the latest ESX)

Conflicts with Hold Up

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

needbag issue

I have set Config.NeedBag = false

but it still asks me for a bag when i try to rob store

[FIX REQ]

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.