Installation
Installation and download processes are straightforward and fixed. After following the specified steps, you can easily complete the installation.
Before Starting
Installation and download processes are straightforward and fixed. After following the specified steps, you can easily complete the installation. Skipping a small step can lead to significant errors in the future!
If you get an error, and if the error located in errors page, support it will take much longer for you to get a reply.
If you don't modify configurations file, support it will take much longer for you to get a reply.
Installation
Extract ls-inventory from the downloaded folder and install it on your server.
If the downloaded file has a different name than ls-inventory, rename it to ls-inventory or it will not work and errors will occur!
After installing it on your server, import the SQL database named "ls_inventory.sql" into your server's database.
Before starting, make sure you're started ls-inventory after ls-core start. If you dont, start ls-inventory after ls-core.
Requirements
Do not skip any requirements. It's will errors in future!
First, make sure that the specified resources have been downloaded and installed on your server;
ls-core
ls-weapons
Framework
QB-CORE
If you're using newest qb-core, replace all ["qb-inventory"] exports with ["ls-inventory"] and, locate "self.Functions.SetPlayerData" and replace whole function with,
Thats it, there is no more requirements for change!
If you're using old qb-core version "before inventory update", find qb-core/server/player.lua after that locate these functions.
After doing these steps everything is done!
ESX
ESX, installation is really basic, first find es_extended/server/classes/player.lua after that locate these functions.
Newest ESX versions added item check to their code. This means if you use newest version of ESX you cannot use most items if you want to use all items,
Find es_extended/server/functions.lua after that locate "ESX.UseItem" and replace whole function with,
After doing these steps everything is done!
Last updated