KRILLE123 / esx-kr-advanced-shops

29 stars 34 forks source link

Duplicate Of Items #6

Open Bazookan opened 5 years ago

Bazookan commented 5 years ago

If you are inside the circle and press E more then one time fast (example if i press E 3 times in 2 seconds) then if you buy something the item get duplicated. Just letting you know

dhannyjsb commented 5 years ago

If you are inside the circle and press E more then one time fast (example if i press E 3 times in 2 seconds) then if you buy something the item get duplicated. Just letting you know

You right, you can buy 20 item and only pay with 1 item. @KRILLE123

JackieHigh commented 4 years ago

Insert this to client.lua (just block stuff)

local showblip = false
local displayedBlips = {}
local AllBlips = {}
local number = nil
local block = false
AddEventHandler('esx_kr_shop:hasExitedMarker', function(zone)
    ShopId = nil
    block = false
end)
if IsControlJustReleased(0, Keys['E']) and block == false then
                    block = true
                    if ShopId == 'center' then
                        OpenShopCenter()