> For the complete documentation index, see [llms.txt](https://kevingirardx.gitbook.io/scripts/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kevingirardx.gitbook.io/scripts/dead-drops.md).

# Dead Drops

<figure><img src="/files/0KH75SEvBEd3L37qKoe0" alt=""><figcaption></figcaption></figure>

## Dependencies

Ensure that you have the dependencies below downloaded and ensured in your resources.

{% hint style="warning" %}
Ox Lib: <https://github.com/overextended/ox_lib/releases>

Renewed Lib: <https://github.com/Renewed-Scripts/Renewed-Lib/releases/tag/v2.0.7>

Renewed Weaponcarry: <https://github.com/Renewed-Scripts/Renewed-Weaponscarry/releases/tag/v2.5.2>

Bl Dialog: <https://github.com/Byte-Labs-Studio/bl_dialog>

Prop \[Free]: <https://bzzz.tebex.io/package/5619362>&#x20;
{% endhint %}

## Installation

Add the following in **ox\_inventory > data > items.lua**

```lua
-- Kevin DeadDrop Items
['kevin_deaddrop_cannabis_bag'] = {
    label = 'Cannabis Bag',
    weight = 4500,
    stack = false,
    close = true,
    description = "A bag containing cannabis",
    client = {
        image = 'cannabis2_type1.png',
    }
},
['kevin_deaddrop_cocaine_bag'] = {
    label = 'Cocaine Bag',
    weight = 5500,
    stack = false,
    close = true,
    description = "A bag containing cocaine",
},
['kevin_deaddrop_pills_bag'] = {
    label = 'Pills Bag',
    weight = 500,
    stack = false,
    close = true,
    description = "A bag containing pills",
},
```

### Qb | Ps Inventory

Add the following in qb-core > shared > items.lua

{% code overflow="wrap" %}

```lua
kevin_deaddrop_cannabis_bag                     = { name = 'kevin_deaddrop_cannabis_bag', label = 'Cannabis Bag', weight = 4500, type = 'item', image = 'cannabis2_type1.png', unique = true, useable = true, shouldClose = true, description = 'A bag containing cannabis' },
kevin_deaddrop_cocaine_bag                        = { name = 'kevin_deaddrop_cocaine_bag', label = 'Cocaine Bag', weight = 5500, type = 'item', image = 'kevin_deaddrop_cocaine_bag.png', unique = true, useable = true, shouldClose = true, description = 'A bag containing cocaine' },
kevin_deaddrop_pills_bag                          = { name = 'kevin_deaddrop_pills_bag', label = 'Pills Bag', weight = 500, type = 'item', image = 'kevin_deaddrop_pills_bag.png', unique = true, useable = true, shouldClose = true, description = 'A bag containing pills'},
```

{% endcode %}

### Reputation Metadata

#### <mark style="color:yellow;">Qbox</mark>

Add the following to **qbx\_core > server > player.lua** (anywhere below line 451)

```lua
playerData.metadata.kevindeaddrops = playerData.metadata.kevindeaddrops or 0
```

#### <mark style="color:red;">Qbcore</mark>

Add the following to **qb-core > config.lua** (within the <mark style="color:green;">metadata</mark> code block on line 62)

```lua
kevindeaddrops = 0,
```

### Prop Carry

Add the following below to renewed-weaponcarry > data > carry.lua

```lua
kevin_deaddrop_cannabis_bag = {
    slowMovement = 10, -- Slow playermovement by percentage, 100 = cant walk, 0 = normal speed. (recommend 10-20)
    model = `bzzz_drug_prop_cannabis_b`,
    pos = vec3(0.36, -0.07, -0.05),
    rot = vec3(23.6, -85.0, -10.0),
    bone = 57005,
    dict = 'move_weapon@jerrycan@generic',
    anim = 'idle',
    disableKeys = {
        disableSprint = true,
        disableJump = false,
        disableAttack = true,
        disableDriving = true,
        disableVehicleEnter = true
    }
},
kevin_deaddrop_cocaine_bag = {
    slowMovement = 10, -- Slow playermovement by percentage, 100 = cant walk, 0 = normal speed. (recommend 10-20)
    model = `m23_2_prop_m32_cokebag_01a`,
    pos = vec3(0.5, -0.03, -0.05),
    rot = vec3(23.6, -85.0, -10.0),
    bone = 57005,
    dict = 'move_weapon@jerrycan@generic',
    anim = 'idle',
    disableKeys = {
        disableSprint = true,
        disableJump = false,
        disableAttack = true,
        disableDriving = true,
        disableVehicleEnter = true
    }
},
kevin_deaddrop_pills_bag = {
    slowMovement = 0, -- Slow playermovement by percentage, 100 = cant walk, 0 = normal speed. (recommend 10-20)
    model = `prop_paper_bag_small`,
    pos = vec3(0.2, 0.00, -0.024),
    rot = vec3(90.6, -85.0, -10.0),
    bone = 57005,
    dict = 'move_weapon@jerrycan@generic',
    anim = 'idle',
    disableKeys = {
        disableSprint = false,
        disableJump = false,
        disableAttack = true,
        disableDriving = true,
        disableVehicleEnter = true
    }
},
```

{% hint style="success" %}
🎉 Installation Completed. Next step is just customization/adjusting config files to you liking
{% endhint %}
