Skip to main content
Aquiver API · Lua

Installation

Import the database table and load the shared, server and client modules from your resource manifest.

Required dependencies

oxmysql

Database connector used by the API.

Installation steps

  1. 01

    Import the database

    Import the included SQL table into your server database.

  2. 02

    Load the API modules

    Add the shared, server and client library files to your fxmanifest.lua.

    fxmanifest.lua
Configuration

Load the API modules

Add the shared module together with the required server and client libraries to fxmanifest.lua.

fxmanifest.lua
server_scripts {
'@aquiver_lua/_modules/shared_lib.lua',
'@aquiver_lua/_modules/server_lib.lua'
}

client_scripts {
'@aquiver_lua/_modules/shared_lib.lua',
'@aquiver_lua/_modules/client_lib.lua'
}
info

After loading the files in fxmanifest.lua, you can call and trigger the module functions.