
π΄Trees
You can add more harvestable trees by defining the item name and its relevant information in the Config.Trees table
The
keyis the harvested item name
Config.Trees = {
['item_name_rewarded'] = { -- the key is the item name given from harvesting
---
},
}Info
Icon is the target icon for the prop
Label is the target label for the prop
Distance is the target distance for the prop bare in mind the number you set for MaxDistance in Security settings
info = {
icon = 'fa-solid fa-hand-point-up', -- target icon
label = 'Harvest Item', -- target label
distance = 3.0, -- target distance
},Prop
Name is the prop model you want to use for this item
Required Item
You can set the prop to have a required item to harvest
Set enabled to true to use a required item
Name is the item name
Blip
Blip information can be found here: https://docs.fivem.net/docs/game-references/blips/
You can enable blips for each prop that spawns
Set enabled to true to use blips
Define the blip id
Define the blip colour
Define the blip scale
Define the blip title
ProgressCircle
Define progressCircle settings for harvesting
Duration is the time to harvest
Label is the progressCircle label
animation table - anim is animation name, dict is animation dictionary name, flag is animation flag
prop table - model is prop name, bone is bone index for prop, pos is prop position, rot is prop rotation
Coords
Define coordinates for the props to spawn at these must be
vector4
Finished Config
This is an example of a finished config for a harvestable item
Last updated