β‘οΈInstall
Requirements
SD_Lib
Download the latest release of SD_Lib.
Follow the Installation & Integration guide from SD_Lib.
Target System
Download the latest release of the target system of your choice.
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
Add the following lines to your
ox_inventory/data/items.lua
.
```lua
laptop = {
label = "Laptop",
weight = 1000,
},
```
Choose one of the images and save it. You can also get a custom one yourself.
Rename the file to
laptop
.Add the file to
ox_inventory/web/images
.
esx_inventory
Execute the following lines on your database.
INSERT INTO `items` (`name`, `label`, `weight`, `rare`, `can_remove`) VALUES
('laptop', 'Laptop', 1, 0, 1);
Choose one of the images and save it. You can also get a custom one yourself.
Rename the file to
laptop
.Add the file to
esx_inventory/html/img/items
.
qb-inventory
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 },
```
Choose one of the images and save it. You can also get a custom one yourself.
Rename the file to
laptop
.Add the file to
qb-inventory/html/images
.
Starting the resource
Add the following line to your
server.cfg
.
ensure exp_bank_robbery
Restart your server.
Enjoy! π
Last updated