This script is an extended version of my prospecting script that you can download here.
Video showcase: https://youtu.be/SLTT6jYeBXc
Features
- There is an option in the config which makes the script compatible with older versions of ESX. (item limit based)
- There is also a seperate SQL file with item limits instead of weights.
- Items found come in your inventory
- Use a treasure map to generate a search area where you can find treasure
- Can't use the detector outside of search area
- Search area only shows for person that opened the treasure map
- Animation
How to use
Use the treasure map, a new area will then be marked on the map.
- Go to the marked area
- Use the detector item
- Walk around while paying attention to the scanner
- Locate and dig out treasure
You have to find a way to give players the detector item and the treasure map, it is the easiest to just add it to one of your stores but that's up to you. I don't recommend adding the treasure map to stores, maybe you can add it to home robberies or bank robberies. Keep in mind that you need to set up the items that can be dug up as well.
Configuration
This script offers a lot of customization through the configuration file.
- There is an option in the config which makes the script compatible with older versions of ESX. (item limit based)
- Change blip text, sprite and color
- Change area sprite, color and alpha (transparency)
- Change all items and their locations
- Change all locations highlighted by the treasure map
- Change notification type
Dependencies
This script has some dependencies so make sure you install those as well.