In order to ensure a successful installation, please follow the instructions very carefully.
Dependencies
ox_lib
Installation
Download the latest build of ox_lib (not the source code).
Extract the contents of the archive to your resources folder.
Start the resource near the top of your resources in your server.cfg.
Use the built version
Make sure you have downloaded the built version of ox_lib! If you download the source code, then it won't function correctly and the application will have problems.
The built version can be downloaded from the releases page (ox_lib.zip).
Installing the resource
Make sure you have the dependencies listed above installed.
Extract the contents of the archive to your resources folder.
Ensure the resource is set to start up with the server.
Framework
If you're using ESX or QB or QBX, your framework will be automatically detected.
For other frameworks, please follow the provided instructions:
Using other frameworks
In the file /resource/config/shared.lua change the framework to CUSTOM.
In the file /framework/server.lua,go to the supportedFrameworks variable and fill in the three functions for the CUSTOM option (resourceName, loadFramework, registerItem).
In the file /framework/server.lua,go to the getPlayerIdentifer function and fill in the function. It should return the player's identifier (usually character ID).
Once everything is set up, proceed to our integration page to setup tablet opening.