From 1adceb5820c6edfef85f4d327219906d1d0c8aeb Mon Sep 17 00:00:00 2001
From: Nfire <55892717+N-fire@users.noreply.github.com>
Date: Tue, 29 Mar 2022 22:10:16 +0200
Subject: [PATCH] add Start order to ox_inventory installation (#8)
* add Start order too ox_inventory installation
* refactor start order
---
docs/ox_inventory/index.mdx | 22 ++++++++++++++++++++--
1 file changed, 20 insertions(+), 2 deletions(-)
diff --git a/docs/ox_inventory/index.mdx b/docs/ox_inventory/index.mdx
index de64268d..12950ee4 100644
--- a/docs/ox_inventory/index.mdx
+++ b/docs/ox_inventory/index.mdx
@@ -124,8 +124,16 @@ The inventory will handle disabling the phone when the player has no item, and s
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) and [vehicle.sql](https://github.com/overextended/ox_inventory/blob/main/setup/vehicle.sql)
+ Start order should look like the following:
+```
+start oxmysql
+start es_extended
+start ox_lib
+start ox_inventory
+...
+```
@@ -134,7 +142,17 @@ Execute the query inside [install.sql](https://github.com/overextended/ox_invent
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
-Remove the conversion file
+Remove the conversion file
+
+ Start order should look like the following:
+```
+start oxmysql
+start es_extended
+start ox_lib
+start ox_inventory
+everything else
+...
+```