Treasure chest system - kincses láda rendszer




En: Simple esx treasure chest system by me with discord log. The script is full configurable.

PLANS: More things to got from chests.

Hu: Egy egyszerű esx kincsesláda rendszer álltalam discord loggal. A rendszerben minden beállítható.

TERVEK: Több kapható dolog a ládákból.

If you like the script and you want more scripts from me in the future please donate to me if you can! Thank you! DONATE

VIDEO
DOWNLOAD
MAGYAR VERZIÓ LETÖLTÉSE

8 Likes

do you have a video preview?

A few minutes and I will upload a video.

1 Like

Video uploaded!

You should redo it and add those limits on the server side, a client could reconnect and he can take the chest over and over again.

3 Likes

Today or tomorrow I take a look at this! Thank you!

i get this error when i find money and also im getting random items found from my database instead of the ones i got in my config…

if we could have this fixed and possibly some one translate to english all way that’d be amazing :smiley: great script tho!

1 Like

I have writed english translate in config. Just comment out the hungarian config. Or you mean the translate is bad? If yes then sry and I look at it but i’m just learning english.

Can you send an image from your config.lua?


sure and the translation in config isnt bad, i just wanted a fully translated one with client/server etc also, sorry

1 Like

Oh! I see the problem! It’s my fault sry! In the last line where you have this:
Config.dcuzenetpenz = " Opened an chest and they found less money in it!"
You need to replace it with that:
Config.dcuzenetpenzkeves = " Opened an chest and they found less money in it!"

1 Like

I see you have gunpowder for item name. And you still say the script gives you random item?

yeah it gave me copper and scrap metal even tho those items are no where in the script lmao

ahh okay i didnt notice it also. thanks

1 Like

Hmmm. I don’t think the problem in the treasure chest system. It’s only call the esx fuction to give the item what you have put it in the config. In your server the /giveitem command works normally?

weird lol ive never had a problem with any script before/server giving random items

I don’t know it either how can it gives you random item. But you can see there’s nothing that can cause random item giving in the script.
The giveitem in the server lua and it’s look like this:
xPlayer.addInventoryItem(Config.nyeremenytargy, Config.nyeremenytargyszam)
And the Config.nyeremenytargy and the Config.nyeremenytargyszam in the Config.lua. And I have opened a lot of chests in my server and I don’t have any problem with it. I’m gonna look after it what can cause the problem. If I find any solution for the problem I will write it down here!

all my


items spawn great but just not for this script lol