Changelog
Every metal detecting release since version 2, newest first, with what it added, changed and fixed.
Maintenance for [lation ui](/docs/ui).
Exports to open the shops and read the levels, and a hook that decides who can use a detector.
Added
- The client exports
OpenDetectorShopandOpenSellShop. - The client and server export
GetLevelData, which returns the XP for each level. CanUseDetectorinserver/functions.lua: returnfalseto stop a player from taking a detector out.
An exploit fix, and options to allow running and to make the shovel optional.
Added
Config.Detecting.running: let the search count while running.Config.Shovel.required: let players dig without a shovel.- A console warning, repeated every 10 seconds, when the
installfolder or its SQL file is missing.
Changed
- A new update check, which links to Granted Assets on the Cfx.re portal.
- Parts of the bridge were reworked for wider support.
Fixed
- An exploit.
The inventory stays open while detecting, and digging checks for a shovel.
Added
DisableInventory()andEnableInventory()in the client bridge, for the client hooks.
Changed
- Players can open their inventory while detecting. To close it off again, call
DisableInventory()from a client hook. - Unused strings were removed from
strings.lua.
Fixed
- Digging checks that the player has a shovel.
- A leftover debug print.
The first release of version 2, rewritten from the ground up with a new config, a new bridge and server-checked events.
Added
- Qbox support, in a new framework and inventory bridge.
- A choice of notification systems, and the
interactscript for the shops. - Logging to Fivemanage and Fivemerr.
- A debug option,
Config.Setup.debug. - Press E at the spot to start digging.
- A
minandmaxquantity for each item in the loot tables.
Changed
- Sounds use the game's own audio, so
interact-soundandxsoundare no longer needed. - The pictures in the shop menus load from the resource, no longer from a hosted site.
Still stuck? Ask in our Discord: the people who write the scripts answer.
Last updated
Developers
The metal detecting client and server exports, its notify event, the hooks in its open files, and the bridge you edit for another framework, inventory or interface.
scuba diving
Requirements, install steps, items and first start for scuba diving, a FiveM activity where players gear up, follow a hotspot out to sea and bring crates up from the seabed.