๐ปInstallation Guide
Inventory Installation Guide
This page is dedicated to installation of our Inventory Redesign script. Follow steps listed below to start using pScripts Inventory Redesign on your server.
Remember to DO NOT use other Inventory System's at same time!
Prerequisities
Before you begin, ensure you have:
FiveM server with administrator access
Access to your server's database
File transfer capability (FTP or direct file access)
We do NOT recommend using FileZilla - It's corrupting script files many times!
Step 1: Installing the dependencies
Our script requires 4 dependencies:
ox_target [It can be disabled in next step]
Additionaly, we recommend you use MariaDB as your Database Management System.
Step 2: Installing Inventory CFG
Paste code below into your server.cfg or create a new cfg named inventory.cfg and paste it into this file!
If you create new cfg named inventory.cfg, REMEMBER to add exec inventory.cfg into server.cfg
REMEMBER TO DELETE OLD INVENTORY CFG AND SETUP CFG FOR YOUR SERVER!
Step 3: Import Old Data
If you used ox_inventory before, copy your items.lua, shops.lua, weapons.lua etc. from your old version and paste them into data folder! Same with item images!
REMEMBER to add these clothing items in your items.lua
Step 4: Clothing Script Setup
If there is NO setup for your clothing script, then it's not REQUIRED to change anything in it.
esx_skin Setup
Option 1: Use attached file and replace it in script [ONLY FOR FRESH AND LATEST VERSION]
Replace this file with esx_skin/client/modules/menu.lua
Option 2: Follow guide below and do it by yourself
esx_skin Guide
We recommend using LATEST and FRESH version of esx_skin to avoid any issues and errors!
Add Clothing Events
Open
esx_skin/client/modules/menu.luaand findfunction Menu:cancel(data, menu)Paste this event
TriggerEvent('p_itemclothes/client/updateClothes', Skin.last)like on screenshot below!

Next find
function Menu:Saveable(submitCb, cancelCb, restrict)Paste this event
TriggerEvent('p_itemclothes/client/updateClothes', skin)like on screenshot below!

qb-clothing Setup
Option 1: Use attached file and replace it in script [ONLY FOR FRESH AND LATEST VERSION]
Replace this file with qb-clothing/client/main.lua
Option 2: Follow guide below and do it by yourself
qb-clothing Guide
We recommend using LATEST and FRESH version of qb-clothing to avoid any issues and errors!
Add Export to Get Data
Go to
qb-clothing/client/main.luaand paste this code on BOTTOM of file!
Add Clothing Events
Find
local function resetClothing(data)and add this code like on screenshot!

Find
local function SaveSkin()and add this code like on screenshot!

illenium-appearance Setup
Option 1: Use attached files and replace in script [ONLY FOR FRESH AND LATEST VERSION]
Replace this file with illenium-appearance/client/client.lua
Replace this file with illenium-appearance/client/outfits.lua
Replace this file with illenium-appearance/game/customization.lua
Replace this file with illenium-appearance/game/util.lua
Option 2: Follow guide below and do it by yourself
illenium-appearance Guide
Add Clothing Events
Go to
illenium-appearance/client/client.luaand find this below
Paste this code like on screenshot below!

Go to illenium-appearance/client/outfits.lua and find
function LoadJobOutfit(oData)Paste this code like on screenshot below!

Go to illenium-appearance/game/customization.lua and find
function client.exitPlayerCustomization(appearance)
Paste this code like on screenshot below!

Go to illenium-appearance/game/util.lua and find
local function setPlayerAppearance(appearance)Paste this code like on screenshot below!

Find
local function setPedComponents(ped, components)Paste this code like on screenshot below!

Find
local function setPedProps(ped, props)Paste this code like on screenshot below!

crm-appearance Setup
DISABLE Items as Clothes in Config of crm-appearance!
0r-clothing Setup
0r-clothing Guide
Go to
0r-clothing/shared/config.luaand add event below in all these functions like on screenshot

qs-appearance Setup
qs-appearance Guide
Go to
qs-appearance/client/custom/inventoryand addox_inventory.luahereSet Config.Inventory to
ox_inventory
17Mov_CharacterSystem Setup
17Mov_CharacterSystem Guide
Go to
17Mov_CharacterSystem/bridge/illenium.luaand paste code below on bottom of file
Step 5: Downloading the Script
Download the script from your Keymaster.
Extract the
p_itemclothesandox_inventoryto your resources.
Step 6: Configuration
Open
config.luafile in the Script folderConfigure our script basing on your needs.
Step 7: P_Bridge Configuration
Download and extract p_bridge onto your server.
Configure p_bridge and its funtions in
config.luaAdd the following line to your
server.cfgBELOW your Framework
It's important to start in logical order to prevent any errors in your server console!
It's only EXAMPLE of starting order, should looks similiar but do not copy this.
Make sure p_bridge starts before any of OUR scripts
Step 8: Start using our script
Save all changes
Restart / Start your FiveM server
Enjoy using our Inventory Redesign! ๐
Last updated
