[ESX, QB & QBR] ProjextX Orange Farming

For which framework?

I use Esx Legacy with ox inventory. added the items in data/items. After i finish the minigame nothing happens. I can only give myself the item.

Also thank you for the script !

Hmm. I’m going to assume that you didn’t rename the item so that wouldn’t be the issue.

Can you go back on the github page and download the version for the server lua right before I merged a PR for the distance check?

Should just be able to go click the committee history and click view file and can just copy and paste that using the clipboard icon into your current server lua

Should be fixed now… just pushed a new commit to the org

1 Like

Thank you ! You are awsome :pray:

1 Like


Happy Farming I guess :upside_down_face:

Are you still having issues?

Nope, everything works as it should be ! :smiling_face_with_three_hearts:

First of all thanks for the awesome work you do, this just is the best timing ever. Really needed such script. Unfortuneately I do something wrong to make it work. I didnt change names on script or items. But stille end up with this


Hope you can help, really need this awesome oranges >D

Can you show me what your config settings are and also rename the folder and remove - main

No I changed it for QB, sry I put in the wrong screendump, just corrected it >D

delete

Are you about to try this real quick

 CreateThread(function()
            for _, v in pairs(OrangeTrees) do
                exports['qb-target']:AddBoxZone(v.Name, vector3(v.coords.x, v.coords.y, v.coords.z), 1, 1, {
                    name = v.Name,
                    heading = v.heading,
                    debugPoly = false,
                    minZ = v.coords.z - 2,
                    maxZ = v.coords.z + 2,
                  },{
                    options = {
                      {
                        type = "client",
                        name = v.name,
                        event = 'ProjextX-OrangeFarm:PickingOranges',
                        icon = 'fa-solid fa-hand',
                        label = Config.Text["PickOrange"],
                      },
                    },
                  distance = v.distance,
                })
            end
        end)

Here is name of files:
image
Here is config:


Anything else I didnt. touch :slight_smile:

yeah, Im ready to do everything. Where do I put it ?

Go to where the error message is and replace that with this

Thanks for being so patient. I changed it, and this happened>

I’ll have a look at it later tonight and reply to you once I come up with a solution on why this error is actually happening

1 Like

Did you change it from ox target to qb-target in the config cause it shows that you are trying to start ox target