[Release] Harvest/Treatment/Selling Jobs System v1.1

roleplay

#1

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 and coordinates tables (with sample.sql if you want)
  • Change the recoltDistance and timeForRecolt variables in vdkrecolt.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 and coordinates. 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 :wink:

For help

Search a minimum with your brain and post CLEAR and DOCUMENTED question please :wink:

Notes

It’s only my second script so the valuables proposals are always welcome :wink:

Update

  • 24/04
    Add the maximum capacity restreint on recolt (in vdk_inventory => so you need to UPDATE it)

[How-To] Add dirty money into "old" ES mode
[Discontinued-CFX] Mission System
[Discontinued-CFX] Mission System
[HELP] vdk_inventory error
#3

Do you install all requirements ?


#4

Yes sir, i install the requirement


#5

So we need to create directly our own weed farm or it’s done with your archive. ? If you can make a tutorial vidéo of how to setup correctly like (add job etc…) it would be very nice to understand. In french :slight_smile:


#6

yeah what he said am confused what the purpose with this mod and show an example of u make one. like a video


#7

I try that! Thanks you!


#8

I have same problem https://puu.sh/vusb5/5fd40fabbc.png Error Code: 1215. Cannot add foreign key constraint


#9

Do you have the Job System installed ?


#10

uh uh… u right! sorry


#11

Good release :slight_smile:


#12

The purpose is tout create the famous recolt/treatment/selling used in the RP server, you recolt raw items, you treat them and sell them.
I’ll try to precisely explain how to make it works :wink:


#14

Hi, very nice jobs! It’s possible to hide blips and when a player choose a job the blips is visible?


#15

In my next update yes :wink:


#16

it’s possible to add sample? :confused:


#17

Nice, i’m waiting! :slight_smile:


#18

Update

Add sample.sql to test


#19

“Casserole” :joy: :joy:


#20

No file simple.sql !


#21

https://github.com/vodkhard/vdk_recolt/blob/master/sample.sql


#22

I have complet all ligne in my db and when i go to the field i don’t have message to press to recolte. It’s normal or not?