Message in a bottle script
You can find buried treasures.
You need to find item to get position
You need shovel to dig the treasure
Shovel can break
You can choose positions
You can choose rewards
You can choose chance for getting the bottle
You can choose chance for shovel to break up
Not obfuscated or IP-locked.
Requirements
ESX
You know how to add 2 items to database (sql file is not included but query is below)
Youtube link: https://www.youtube.com/watch?v=jGh2bd100Ls
Notes
This don’t come with config file - Everything you want to edit is at the top of the files properly documented
You should add more positions and better rewards
Items that you need to insert to database is: shovel & messageinabottle. Mysql query below:
INSERT INTO `items` (`name`, `label`) VALUES
('shovel', 'Shovel'),
('messageinabottle', 'Message in a Bottle')
;