vdk_recolt
Resources for FiveM RP allowing user to recolt/treat/sell stuff
Requirements
Installation
- Download the resource here :
- Place the folder
vdk_recolt
to resources folder of FiveM - Execute
dump.sql
file in your database (will create the tables and the constraints) - Change your database configuration in
config.lua
- Populate the
recolt
,jobs
andcoordinates
tables (withsample.sql
if you want) - Change the
recoltDistance
andtimeForRecolt
variables invdkrecolt.lua
like you want
Database explanations !
- coordinates : here you put the x, y, z coordinate of your field, your treatment place or seller, just the coordinates
- recolt : it’s a link table between
items
,jobs
andcoordinates
. In it you add the raw item ID, the treated item ID, the job needed to recolt (feature not implement yet), and the ID of the tree position of the field, treatment place and seller.
Usage
Go to the position of your places in order (field->treatment->seller) and appreciate
For help
Search a minimum with your brain and post CLEAR and DOCUMENTED question please
Notes
It’s only my second script so the valuables proposals are always welcome
Update
- 24/04
Add the maximum capacity restreint on recolt (invdk_inventory
=> so you need to UPDATE it)