Dynyx Scripts
  • Dynyx Scripts
  • 🚗Chop Shop
    • Introduction
    • Installation & Configuration
      • qb-inventory
      • ox_inventory
  • 🧰Crafting System
    • Introduction
    • Installation & Configuration
      • ox_inventory
      • qb-inventory / ps-inventory
      • qs-inventory
  • 🌱Weed Growing
    • Introduction
    • Installation & Configuration
      • ox_inventory
      • qb-inventory / ps-inventory
      • qs-inventory
  • 💳EBT Cards
    • Introduction
    • Installation & Configuration
      • ox_inventory
      • qb-inventory / ps-inventory
Powered by GitBook
On this page
  1. Chop Shop

Installation & Configuration

  1. Drag dynyx_chopshop into your resources folder then ensure dynyx_chopshop in your cfg file.

  2. Install all Dependencies

  3. Now navigate into the inventory folder. You will need to follow a different guide depending on your chosen inventory. The item images can be found in the images folder

  • ox_inventory

  • qb-inventory

Configuration

Let's dive into the exciting part! We'll tailor the script precisely for your city. Inside the config folder, you'll find a single configuration file

The main one you want to focus on is the config.lua file. This is the core configuration for the script, where most integrations—such as framework, inventory, target system, notifications, and more—are automatically detected.

In this file, you will primarily customize chop shop locations, job cooldowns, police requirements, and reward settings for vehicle dismantling. This ensures a smooth and immersive experience tailored to your server.

To further optimize the script for your server's unique requirements, consider fine-tuning this configuration file. These allow you to modify how vehicle dismantling, special rewards, and the breakdown process function. Each of these files is heavily commented to guide you through the customization process. Be sure to only modify them if you are comfortable with Lua and understand how the system works.

Config = {}

Config.Notifications = "ox" -- Notification system to use: "ox" for ox_lib notifications, "qb" for qb-core notifications
Config.Target = "ox_target" -- Target system: "ox_target" for Ox Target, "qb-target" for QB Target
Config.Inventory = "ox_inventory" -- Inventory system: "ox_inventory" for Ox Inventory, "qb-inventory" for QB Inventory
Config.ProgressBar = "ox_lib" -- Progress bar system: "ox_lib" for Ox Lib, "qb-core" for QB Core Progress Bar
Config.MinCops = 0 -- Minimum number of police officers required to start the job
Config.PoliceJob = 'police' -- Job name for police officers in the server
Config.Dispatch = 'none' -- Dispatch system: "orgien_police", "qs-dispatch", "core_dispatch", "ps-dispatch", or "none" if no dispatch is used
Config.Phone = "qb-phone" -- Phone system: "qb-phone", "roadphone", "qs-smartphone", "lb-phone"
Config.WaitListTimer = 0 -- Time (in seconds) before a player can get a job after speaking to the boss
Config.Cooldown = 30 -- Cooldown (in seconds) after completing the job before being able to start another one
Config.img = "ox_inventory/web/images" -- Directory where inventory item images are stored

Config.LockVehicle = false -- If set to true, the chop vehicle will be locked

Config.TrunkItem = "cartrunk" -- Item required to interact with or remove the trunk
Config.HoodItem = "carhood" -- Item required to interact with or remove the car hood
Config.DoorItem = "cardoor" -- Item required to interact with or remove the car door
Config.WheelItem = "carwheel" -- Item required to interact with or remove the car wheel

Config.Reward = { -- Reward when you chop a vehicle's part
    ChopTrunk = {
        "steel",
        "money",
        "phone",
        "plastic",
    },
    ChopHood = {
        "aluminum",
        "money",
        "iron",
        "plastic",
    },
    ChopDoor = {
        "aluminum",
        "money",
        "radio",
        "iron",

    },
    ChopWheel = {
        "rubber",
        "steel",
        "plastic",
    },
    ScrapVehicle = {
        "metalscrap",
        "rubber",
    }
}
Config.RewardAmountMin = 2 -- Min amt of per reward item
Config.RewardAmountMax = 5 -- Max amt of per reward item
Config.RewardAmountChance = 80 -- Chance of Getting a reward

Config.SpecialReward = { -- Special Reward when you chop a vehicle's part
    "crack_baggy",
    "diamond_ring",
    "meth",
    "10kgoldchain",
    "rolex",
}

Config.SpeicalRewardMin = 1 -- Min amt of per reward item
Config.SpecialRewardMax = 3 -- Max amt of per reward item
Config.SpecialRewardChance = 50 -- Chance of Getting a reward

Config.BreakDownPartsLocation = vector3(471.7, -1312.21, 29.22) -- Where you break down the vehicle parts into material

Config.BreakDownPartsReward = { -- Reward when you break down a vehicle part
    ChopTrunk = {
        "steel",
        "money"
    },
    ChopHood = {
        "aluminum",
        "money"
    },
    ChopDoor = {
        "aluminum",
        "money"
    },
    ChopWheel = {
        "rubber",
        "money"
    },
}

Config.BreakDownPartsMin = 10 -- Min amt of per part item
Config.BreakDownPartsMax = 25 -- Max amt of per part item

Config.BossCoords = { -- You can add multiple locations (Every Restart a new location is selected)
    vector4(683.5137, -789.3112, 24.4957, 357.9453)
}

Config.ChopCarLocations = { -- Location where the Car you have to steal spawns at
    vector4(59.6679, -849.2748, 30.8152, 343.5621),
    vector4(-438.4437, -459.8052, 32.6085, 352.0847),
    vector4(-921.9538, -169.2906, 41.8765, 206.7782),
    vector4(906.7933, 3589.7756, 33.2219, 268.3691),
    vector4(1557.4805, 3788.2549, 34.0967, 27.9620),
    vector4(2466.0042, 4074.6331, 38.0647, 62.0357),
    vector4(393.3818, -641.5439, 28.5004, 268.0425),
}

Config.DisassembleVehLocations = { -- Locaiton where you chop down the car into pieces
    vector4(2349.9409, 3134.6299, 48.2087, 258.7731),
    vector4(1541.5659, 6335.5615, 24.0756, 58.8045),
    vector4(1431.5463, 6333.3398, 23.9940, 194.7919),
    vector4(437.6965, 3523.0012, 33.6073, 273.1766),
    vector4(1528.7623, 1703.4760, 109.8092, 263.3474),
}

Config.ChopCarVehicles = { -- Vehicle Spawn Name that the buyers will drive up in
    'sultan',
    'habanero',
    'gresley',
    'fq2',
    'felon',
    'zion',
    'jackal',
    'sentinel',
    'asea',
    'glendale',
    'ingot',
    'surge'
}

Config.Peds = { -- Boss Peds
    "g_m_y_salvaboss_01",
    "a_m_m_og_boss_01",
    "a_m_m_paparazzi_01",
    "a_m_m_socenlat_01",
    "a_m_y_cyclist_01",
    "a_m_y_vinewood_02",
    "a_m_y_smartcaspat_01",
    "g_m_m_casrn_01",
    "g_m_m_chicold_01",
    "g_m_m_armlieut_01",
    "mp_m_bogdangoon",
    "mp_f_execpa_02",
}

PreviousIntroductionNextqb-inventory

Last updated 1 month ago

🚗