Security HUD
System Watchdog
×
Threads Scanned
-- / --
SYS. LOAD --%
AI SHIELD ACTIVE
DMCA Policy
×

📋 DMCA Compliance

This platform and community fully complies with the Digital Millennium Copyright Act (DMCA) and international copyright laws. We take all copyright protection seriously.

🛡️ Copyright Protection

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.

What's new
×
Fiveguard

definitelynotjs

Silver Elite
Joined
Dec 6, 2021
Messages
47
Reaction score
22
Points
166
Location
PH
i no change anything at inventory i just put this. at client lua.


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:eek:penShop', tostring(zone), 'Shop', items)
end
You don't encounter any problem like we have?
 

Mr.Unkown

Gold Elite
Joined
Mar 16, 2021
Messages
136
Reaction score
135
Points
266
Location
malaysia

Attachments

  • 12121212121.PNG
    12121212121.PNG
    940.1 KB · Views: 917

definitelynotjs

Silver Elite
Joined
Dec 6, 2021
Messages
47
Reaction score
22
Points
166
Location
PH
yesss sory my english so badd
It's fine bro, you're doing good and thank you for taking your time helping me. I've tried using all of your configs. And still have the problem where when you open the shop for the second time it won't open.
 

fascinating

Bronze Elite
Joined
May 26, 2021
Messages
19
Reaction score
4
Points
156
see my marks

items={} for what?
It's nothing i just tried if i can reset the value of the table using that. I also tried using table.remove(). But it doesn't work either. I'll Try to find another way to fix it, and if i did i'll send it here. Or i'll just try to use other shops script available.
 

fascinating

Bronze Elite
Joined
May 26, 2021
Messages
19
Reaction score
4
Points
156
It's fine bro, you're doing good and thank you for taking your time helping me. I've tried using all of your configs. And still have the problem where when you open the shop for the second time it won't open.
Hey i think i fix mine. Try deleting shops table on your database. I deleted it and the shops work as intended. Give me a reply if it works on you.
 

definitelynotjs

Silver Elite
Joined
Dec 6, 2021
Messages
47
Reaction score
22
Points
166
Location
PH
I tried adding his 3 attached files but it seems that I still can't open the shop for the second time, I don't think I have "shops" in my database.
 

fascinating

Bronze Elite
Joined
May 26, 2021
Messages
19
Reaction score
4
Points
156
I tried adding his 3 attached files but it seems that I still can't open the shop for the second time, I don't think I have "shops" in my database.
Does it work now ? That's the only thing i did. Don't forget to add the items in your esx_shops config.
 

tamilan_Messi

Member
Joined
Jul 23, 2021
Messages
4
Reaction score
1
Points
156
[ script:inventory] Error loading script server/plugins/player.lua in resource inventory: @inventory/server/plugins/player.lua:3: attempt to call a nil value (field 'RegisterCommand')
[ script:inventory] stack traceback:
[ script:inventory] @inventory/server/plugins/player.lua:3: in main chunk
 

MrKrouz

Member
Joined
Dec 6, 2021
Messages
3
Reaction score
0
Points
146
Location
Argentina
Hello, is there any way to use this script with the allhousing one? If so, how?
 
Top