# Installation

### Step 1 — Download

Download elenachopv2 from Tebex and place it in your resources folder.

### Step 2 — Database

Import the SQL file into your database.

File location: elenachopv2/sql/install.sql

This creates two tables:

* elena\_chop\_levels — Player level and XP
* elena\_chop\_missions — Mission tracking

### Step 3 — Add Items (ox\_inventory)

Open ox\_inventory/data/items.lua and add these items:

\['chop\_door'] = { label = 'Vehicle Door', weight = 5000, stack = true, close = true }, \['chop\_trunk'] = { label = 'Trunk Lid', weight = 4000, stack = true, close = true }, \['chop\_hood'] = { label = 'Hood', weight = 4500, stack = true, close = true }, \['chop\_wheel'] = { label = 'Vehicle Wheel', weight = 3000, stack = true, close = true }, \['chop\_rubber'] = { label = 'Tire Rubber', weight = 1000, stack = true, close = true }, \['chop\_engine'] = { label = 'Engine Block', weight = 15000, stack = true, close = true }, \['chop\_steel'] = { label = 'Steel Part', weight = 2000, stack = true, close = true }, \['chop\_scrap'] = { label = 'Scrap Metal', weight = 1500, stack = true, close = true }, \['chop\_aluminum'] = { label = 'Aluminum Part', weight = 1200, stack = true, close = true }, \['chop\_radio'] = { label = 'Car Radio', weight = 800, stack = true, close = true }, \['wrench'] = { label = 'Wrench', weight = 500, stack = false, close = true },

### Step 4 — Add Items (qb-core)

Open qb-core/shared/items.lua and add these items:

\['chop\_door'] = { name = 'chop\_door', label = 'Vehicle Door', weight = 5000, type = 'item', image = 'chop\_door.png', unique = false, useable = false, shouldClose = true }, \['chop\_trunk'] = { name = 'chop\_trunk', label = 'Trunk Lid', weight = 4000, type = 'item', image = 'chop\_trunk.png', unique = false, useable = false, shouldClose = true }, \['chop\_hood'] = { name = 'chop\_hood', label = 'Hood', weight = 4500, type = 'item', image = 'chop\_hood.png', unique = false, useable = false, shouldClose = true }, \['chop\_wheel'] = { name = 'chop\_wheel', label = 'Vehicle Wheel', weight = 3000, type = 'item', image = 'chop\_wheel.png', unique = false, useable = false, shouldClose = true }, \['chop\_rubber'] = { name = 'chop\_rubber', label = 'Tire Rubber', weight = 1000, type = 'item', image = 'chop\_rubber.png', unique = false, useable = false, shouldClose = true }, \['chop\_engine'] = { name = 'chop\_engine', label = 'Engine Block', weight = 15000, type = 'item', image = 'chop\_engine.png', unique = false, useable = false, shouldClose = true }, \['chop\_steel'] = { name = 'chop\_steel', label = 'Steel Part', weight = 2000, type = 'item', image = 'chop\_steel.png', unique = false, useable = false, shouldClose = true }, \['chop\_scrap'] = { name = 'chop\_scrap', label = 'Scrap Metal', weight = 1500, type = 'item', image = 'chop\_scrap.png', unique = false, useable = false, shouldClose = true }, \['chop\_aluminum'] = { name = 'chop\_aluminum', label = 'Aluminum Part', weight = 1200, type = 'item', image = 'chop\_aluminum.png', unique = false, useable = false, shouldClose = true }, \['chop\_radio'] = { name = 'chop\_radio', label = 'Car Radio', weight = 800, type = 'item', image = 'chop\_radio.png', unique = false, useable = false, shouldClose = true }, \['wrench'] = { name = 'wrench', label = 'Wrench', weight = 500, type = 'item', image = 'wrench.png', unique = false, useable = false, shouldClose = true },

### Step 5 — Add Items (qs-inventory)

Same format as qb-core. Add to qs-inventory/shared/items.lua

### Step 6 — Item Images

Add these images to your inventory image folder:

ox\_inventory: ox\_inventory/web/images/ qb-inventory: qb-inventory/html/images/ qs-inventory: qs-inventory/html/images/

Required images: chop\_door.png chop\_trunk.png chop\_hood.png chop\_wheel.png chop\_rubber.png chop\_engine.png chop\_steel.png chop\_scrap.png chop\_aluminum.png chop\_radio.png wrench.png

### Step 7 — Configure

Open config.lua and set your framework, target, and inventory:

Config.Framework = 'qb' Config.Target = 'ox\_target' Config.Inventory = 'ox\_inventory' Config.Locale = 'en'

### Step 8 — Vehicle Database

Set your vehicle database table in config.lua:

For QBCore or Qbox: Config.VehicleDatabase = { table = 'player\_vehicles', plateColumn = 'plate', ownerColumn = 'citizenid', }

For ESX: Config.VehicleDatabase = { table = 'owned\_vehicles', plateColumn = 'plate', ownerColumn = 'owner', }

### Step 9 — Discord Webhook

Set your Discord webhook URL in config.lua:

Config.Logs = { enabled = true, webhook = 'YOUR\_DISCORD\_WEBHOOK\_URL', }

### Step 10 — Server Config

Add to your server.cfg:

ensure ox\_lib ensure oxmysql ensure ox\_target ensure ox\_inventory ensure qb-core ensure elenachopv2

Important: elenachopv2 must start AFTER all dependencies.

### Step 11 — Start

Restart your server or run:

ensure elenachopv2


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://elena-scripts.gitbook.io/elenascripts/jobs-and-activities/chop-shop-v2/installation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
