Installation
Installing & dependencies.
info
You need to have a basic understanding of .lua programming to get started.
Inventories are not drag & drop and play resources.
Dependencies
- oxmysql (or you can modify the sql export functions)
- Server version atleast 4752. (to support lua54 & escrow)
info
If you have ESX framework follow the ESX INSTALLATION steps.
Installation steps
- Extract the .zip and copy the folder in your resources folder.
- Import the .sql file into your database.
- Modify the
CONFIG.IS_VEHICLE_EXIST
function in the config.lua - Modify the getIdentifier, getJobGrade and other functions in the
aquiver-lib
(if your framework is not recognized when you start the script) - start avp_grid_inventory
IS_VEHICLE_EXIST
We have needed this function to only create the trunks & glovebox for the vehicles which are exist on the server eg. not Ped vehicles.
Basically, in this function you have to check that the plate what the player is trying to access is valid on the serverside or not. (We have an example function already in the code implemented)