🧠Installation

BP INVENTORY Installation Document and Basic Concepts

Depencedies

Place your scripts

The order on server.cfg should be like this.

start bp_inventory
start bp_market

Database Setup

Check if there is a bp_inventory table already established in your database.

If it exists, delete it.

And now, enter this SQL code into your mysql database and set up the table.


CREATE TABLE IF NOT EXISTS `bp_inventory` (
  `id` varchar(100) NOT NULL DEFAULT '',
  `type` varchar(50) DEFAULT NULL,
  `slot` int(200) DEFAULT NULL,
  `weight` int(11) DEFAULT NULL,
  `data` longtext DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;


CREATE TABLE IF NOT EXISTS `bp_inventory_others` (
  `id` varchar(100) NOT NULL DEFAULT '',
  `type` varchar(50) DEFAULT NULL,
  `slot` int(200) DEFAULT NULL,
  `weight` int(11) DEFAULT NULL,
  `data` longtext DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;


Installation With Video

ESX Installation

Go to es_extended >server > classes > player.lua and replace the specified functions with the given code if any. Otherwise add them as new.

📺 VIDEO FOR ESX

QBCORE Installation

Locate "qb-core > server > player.lua" Find "QBCore.Player.CreatePlayer" Find "self.Functions = {}" and add this functions (!!YOU NEED TO ADD BOTTOM OF self.Functions IF YOU DONT YOU GET ERRORS!!)

📺 VIDEO FOR QBCORE

---- coming soon

Last updated