βοΈ Mining job β
Documentation relating to the kd_realistic_mining.
1. Installation β
kd_realistic_mining is a standalone script. So you don't need a specific framework to use it. It's also mean it works with all framework (Esx, QBCore, VRP, DRP, β¦).
- Drag and drop the 4 resources in your resources folder
- kd_realistic_mining
- kd_custom-native (for optimization)
- kd_hud-event (for display information)
- InteractSound (for the sound of hit)
- Add this 4 ensures in your server.cfg
ensure kd_realistic_miningensure kd_custom-nativeensure kd_hud-eventensure InteractSound
- Congratulation, the Mining script is ready to be use !
2. Usage β
Start the job with the client event
lua
TriggerEvent('StartMiningFarm')Stop the job with the client event
lua
TriggerEvent('StopMiningFarm')3. Config.lua β
The configuration file is config.lua in the resource root. Edit this file to change the settings of the script, then restart the resource.
Keep a copy of your changes before updating the script, as an update replaces this file.
Loading configuration...