[QB] - Gathering/Proccesing Job

A script by ErrorSquadd

No reviews yet.
[QB] - Gathering/Proccesing Job main image

Full Description

What is this?

This resource introduces designated zones for the acquisition and refinement of specific items. For instance, players can engage in the collection of uncut diamonds, subsequently processing them into valuable gemstones, and ultimately vending them to specialized sellers. With the flexibility to establish an unlimited number of zones and vendors, you can also customize distinct animations tailored to each unique gathering or processing location.

Config = {};
Config.MZones = {
    ["Diamond"] = {
        Gather = {
            Coords = vec3(331.3402, 2909.9790, 43.9617);--gathering zone coords
            Radius = 25.0; --gathering zone radius
            MustHave = "weapon_battleaxe"; --item they must have to start the gathering process axe for example
            AnimDict = "amb@world_human_gardener_plant@male@idle_a";
            Anim = "idle_c";
            Item = "uncut diamond"; -- item to give upon done mining
            ItemAmount = 1; -- item amount to give per gather
        };
        Process = {
            Coords = vec3(337.7562, 2864.9404, 46.8753); --process zone coords
            Radius = 25.0; --process zone radius
            AnimDict = "amb@world_human_bum_wash@male@low@idle_a";
            Anim = "idle_a";
            Take = "uncut diamond"; --item that they farmed before
            TakeAmount = 1; --amount of that item they must have to start process
            Give = "diamond"; --item to give upon processing complete
        };
        Seller = {
            Coords = vec3(333.5249, 2842.7505, 43.5579 - 0.99999999); -- ped coords
            Ped = GetHashKey("csb_tomcasino"); --ped model
            Heading =  31.9079; -- ped heading
            Item = "diamond"; -- item name
            Price = 500; -- price per item they sell
            blipSprite = 280; -- seller blip
            imgPath = "img/diamond.png" --png img to show on seller menu
        }
    }
}

Showcase:

https://youtu.be/DNa-RP4nCKk

Purchase Here:

https://error-squad.tebex.io/category/2489970 (Encrypted)
https://error-squad.tebex.io/category/2489970 (Open Source)

Any further questions please let us know.

Code is accessible Yes
Subscription-based No
Lines (approximately) 500(ish)
Requirements QB
Support Yes

Config Merger
Have you tried Config Merger? Merge your configs easily