Resources
Modules
lib

lib

Provides the qbx global table with various utility functions.

Prerequisites

  • Lua 5.4 - add lua54 'yes' to your fxmanifest.
  • ox_lib (opens in a new tab) - add @ox_lib/init.lua to shared_scripts in your fxmanifest.

Installation

Add @qbx_core/modules/lib.lua to shared_scripts in your fxmanifest. Make sure it's below the @ox_lib/init.lua script.