🎯 How It Works
Burying Items:
1. Player types `/bury` command
2. Selects item(s) from inventory via ox_lib menu
3. Specifies quantities for each item
4. Option to add multiple different items
5. Confirms selection and watches burial animation
6. Dirt pile spawns at location
7. Items removed from inventory and saved to database
⚙️ Configuration Options
Config.Framework = 'ESX' or 'QBCORE'
Config.BuryDistance = 2.0 -- Distance required to bury
Config.FindDistance = 3.0 -- Detection range for buried items
Config.InteractKey = 38 -- Key to interact (E key)
Config.BuryTime = 5000 -- Time to bury items (ms)
Config.DigTime = 3000 -- Time to dig up items (ms)
Config.BuryProp = 'prop_pile_dirt_01' -- Visual prop
Config.PropZOffset = -0.9 -- Ground height adjustment
Config.UseOxLib = false -- ox_lib notifications
📜Finding Items:
1. Player walks near a buried location
2. 3D text prompt appears: "[E] Dig Up Buried Items"
3. Dirt pile visible as visual indicator
4. Press E to start digging animation
5. Progress bar shows digging progress
6. Items added to inventory automatically
7. Dirt pile removed and database updated
🔒 Security Features
Player Identification - Tracks who buried items
Synchronized State - Prevents duplication glitches
Database Validation - Server-side item verification
📦 Dependencies
oxmysql - Database operations
ox_lib - Menus and progress bars
ESX or QBCore - Framework (choose one)
☕ Video Preview: