Dont have Storage or Stash
, what i can use?
This platform and community fully complies with the Digital Millennium Copyright Act (DMCA) and international copyright laws. We take all copyright protection seriously.
If you believe a posted item belongs to you or violates your copyright, you may file a DMCA takedown request through our official channels. Upon receiving a valid claim, the infringing content will be removed within 24 hours.
can you help me
Ai đó có thể giúp tôi ở đây.
Tôi bị mắc kẹt tại esx_shops
Anh ấy không thể tìm thấy bất kỳ mặt hàng nào trong cửa hàng hoặc bị mắc kẹt
![]()
Config.lua của tôi
Code:TwentyFourSeven = { Các mặt hàng = { { name = "bread", type = "item", giá = 100 }, }, ... ...[/MÃ SỐ] [/QUOTE] delete sql shop in database
client or server?Can anyone share their main.lua for shops? TIA
client or server?
change this at client main.lua (esx_shops)I think client, were you able to integrate it to your shops?
Thanks. But is it just me or whenever I put that on my main.lua, my server seems to lose almost all of its data? Is it possible for you to send me your main.lua?change this at client main.lua (esx_shops)
function OpenShopMenu(zone)
local items = {}
for i=1, #Config.Zones[zone].Items, 1 do
local item = Config.Zones[zone].Items
table.insert(items, {
type = item.type,
name = item.name,
price = item.price
})
end
TriggerEvent('inventory: openShop', tostring(zone), 'Shop', items)
end
at line 15-26 (function OpenShopMenu)
You mean the entire main.lua of the server side or the client side stuffThanks. But is it just me or whenever I put that on my main.lua, my server seems to lose almost all of its data? Is it possible for you to send me your main.lua?
You mean the entire main.lua of the server side or the client side stuff
Currently using esx_stores. I will change and let you know.I wanted to integrate it with my shops. The one that Mr. Unkown doesn't seem to work for me. If you are using the same scripts maybe you can send your esx_shops\client\main.lua? Thank you.
Thank you, that's very helpful!Currently using esx_stores. I will change and let you know.
How did you fix it? can you help me with thatNvm already fixed the problem
this file.lua i used for my shops and you can change at line 70 for add account for gov or compny...when you buy the item will remove cash money and add to account societyAnyone else knows how to fix this problem. I'm using esx_shops. The first time i open the store all the item's load up, but the second time i tried to open a store again. It's stuck on loading. Nothing will happen. Also does it work on esx_properties?
I'm having the same thing, anyone knows how to fix this?Thanks for the script. But it is still not working. Did you make any changes on your inventory script ? I tried printing the data of item. Here's what it prints after opening the store the second time. I
View attachment 3720View attachment 3721
i no change anything at inventory i just put this. at client lua.Thanks for the script. But it is still not working. Did you make any changes on your inventory script ? I tried printing the data of item. Here's what it prints after opening the store the second time. I
View attachment 3720View attachment 3721