Treasure crates with loot for ESX FiveM servers. The crates can contain money (dirty/clean), weapons or items. Supports multiple crates and the script keeps track of which one was opened by who.
- If you're going to keep the default crates, you'll need esx_drugs
- esx_drugs
- Install into resources/[esx]
- Import
esx_treasure.sql
in your database - Add the following line to your server.cfg
start esx_treasure
- If you want the crate to be opened only once/server, you have to set
Config.OnePersonOpen
totrue
inconfig.lua
. Onfalse
, each player can open the crate once. - If you don't want a circle around the crate, you have to set
Config.MarkerCircle
to-1
inconfig.lua
. - If you want the crates to give dirty money instead of clean cash, you have to set
Config.IsMoneyDirtyMoney
totrue
inconfig.lua
.