Step 3

Asset positioning

READ CAREFULLY!

This step is one of the most important in the documentation, don't skip this.

The inventory should always start on top of the other resources and in case you have the qb-inventory or qb-weapons folders on your server!

It is important to maintain a good order on our server, either in folders or in our cfg file, where we will place the start of our resources. For this, it is always recommended that our qb-core be positioned above any other resource and in the case of your inventory, it should be positioned below this core.

Make sure you have the correct start order of resources to avoid errors in exports of your framework, if you don't you may receive critical errors.

To correctly start the resource, we recommend that you create a folder in the root of your server called [inventory] and place the package you downloaded in the previous step inside it. In your cfg file you will call it as ensure [inventory], you can put the dependencies inside or use an external folder.

As we are using qb-core and the qb-files require multiple qb-inventory dependencies, we port them all natively to solve this, but you must start the resource above ensure [qb], but below ensure qb-core, in the medium precisely. Remember that we take these positions taking into account the official qbcore base, if you use another you should find a way to replicate this step correctly.

Example

ensure qb-core
ensure [inventory] -- or ensure qs-inventory

-- example
OTHERS SCRIPTS
ensure [standalone] 
ensure [qb]
-- all 

Last updated