➑️Install

Requirements

SD_Lib

  1. Download the latest release of SD_Lib.

  2. Follow the Installation & Integration guide from SD_Lib.

Target System

  1. Download the latest release of the target system of your choice.

  2. Follow the installation guide of your target system

EXP_Hack

Follow the installation guide of exp_hack.

Adding Items

Images

Here are some images you can use from bitc0de's items gallery.

Inventories

ox_inventory

  1. Add the following lines to your ox_inventory/data/items.lua.

```lua
laptop = {
    label = "Laptop",
    weight = 1000,
},
```
  1. Choose one of the images and save it. You can also get a custom one yourself.

  2. Rename the file to laptop.

  3. Add the file to ox_inventory/web/images.

esx_inventory

  1. Execute the following lines on your database.

INSERT INTO `items` (`name`, `label`, `weight`, `rare`, `can_remove`) VALUES
('laptop', 'Laptop', 1, 0, 1);
  1. Choose one of the images and save it. You can also get a custom one yourself.

  2. Rename the file to laptop.

  3. Add the file to esx_inventory/html/img/items.

qb-inventory

  1. Add the following lines to your qb-core/shared/items.lua.

```lua
laptop = { name = 'laptop', label = 'Laptop', weight = 1000, type = 'item', image = 'laptop.png', unique = true },
```
  1. Choose one of the images and save it. You can also get a custom one yourself.

  2. Rename the file to laptop.

  3. Add the file to qb-inventory/html/images.

Starting the resource

  1. Add the following line to your server.cfg.

ensure exp_bank_robbery
  1. Restart your server.

  2. Enjoy! πŸš€

Last updated