From 6642cea9c4e69786de411c38e2fc7fc7ef74da7e Mon Sep 17 00:00:00 2001 From: BerkieBb <82737367+BerkieBb@users.noreply.github.com> Date: Wed, 24 Aug 2022 01:32:15 +0200 Subject: [PATCH] feat: qb conversion --- docs/ox_inventory/Getting Started/index.md | 45 +++++++++++++++++++--- 1 file changed, 39 insertions(+), 6 deletions(-) diff --git a/docs/ox_inventory/Getting Started/index.md b/docs/ox_inventory/Getting Started/index.md index 88abe2aa..7b923be4 100644 --- a/docs/ox_inventory/Getting Started/index.md +++ b/docs/ox_inventory/Getting Started/index.md @@ -133,7 +133,7 @@ You can compile it youself by following the [build guide](./Guides/inventory_ui) Use a compatible version of [ESX Legacy](https://github.com/esx-framework/esx-legacy) (1.6.0+) -Execute the query inside [install.sql](https://github.com/overextended/ox_inventory/blob/main/setup/install.sql) and [vehicle.sql](https://github.com/overextended/ox_inventory/blob/main/setup/vehicle.sql) +Execute the query inside [install.sql](https://github.com/overextended/ox_inventory/blob/main/setup/install.sql) Start order should look like the following: @@ -150,9 +150,8 @@ start ox_inventory Use a compatible version of [ESX Legacy](https://github.com/esx-framework/esx-legacy) (1.6.0+) Execute the query inside [install.sql](https://github.com/overextended/ox_inventory/blob/main/setup/install.sql) -and [vehicle.sql](https://github.com/overextended/ox_inventory/blob/main/setup/vehicle.sql) Open `fxmanifest.lua` and uncomment `server_script 'setup/convert.lua'` -Start the server and execute the `convertinventory` command from the console +Start the server and execute the `convertinventory esx` command from the console Remove the conversion file Start order should look like the following: @@ -162,7 +161,42 @@ start oxmysql start es_extended start ox_lib start ox_inventory -everything else +... +``` + + + + +Use the latest source code of [qb-core](https://github.com/qbcore-framework/qb-core) +To disable the weapon animation of qb-smallresources, use the latest source code of [qb-smallresources](https://github.com/qbcore-framework/qb-smallresources) (it will only disable if qb-inventory is **not** present inside the resources folder) +Execute the query inside [install.sql](https://github.com/overextended/ox_inventory/blob/main/setup/install.sql) + +Start order should look like the following: + +``` +start oxmysql +start qb-core +start ox_lib +start ox_inventory +... +``` + + + + +Use the latest source code of [qb-core](https://github.com/qbcore-framework/qb-core) +Execute the query inside [install.sql](https://github.com/overextended/ox_inventory/blob/main/setup/install.sql) +Open `fxmanifest.lua` and uncomment `server_script 'setup/convert.lua'` +Start the server and execute the `convertinventory qb` command from the console +Remove the conversion file + +Start order should look like the following: + +``` +start oxmysql +start qb-core +start ox_lib +start ox_inventory ... ``` @@ -170,9 +204,8 @@ everything else Execute the query inside [upgrade.sql](https://github.com/overextended/ox_inventory/blob/main/setup/upgrade.sql) -and [vehicle.sql](https://github.com/overextended/ox_inventory/blob/main/setup/vehicle.sql) Open `fxmanifest.lua` and uncomment `server_script 'setup/convert.lua'` -Start the server and execute the `convertinventory` linden command from the console +Start the server and execute the `convertinventory linden` command from the console Remove the conversion file