Skip to main content
Every module below is reached through local cc = exports.cc_lib:GetLib(). The shape on the client differs from the server — modules listed under Server are only available from server scripts, and vice versa. If a module’s backing resource isn’t running, its slot is absent from the returned table. Either fail fast or guard with if cc.Inventory then ... end.

Server modules

cc.Core

Backing resource: qbx_core.

cc.Inventory

Backing resource: ox_inventory. A partial qb-inventory adapter exists but currently still forwards most reads to ox_inventory; treat ox_inventory as the supported path.

cc.Groups

In-house module — no backing resource needed. A Group is a named bucket of player sources with one designated leader. Used by cc_heistcontracts’ crew layer. Unknown group names log a warning to the server console and return nil instead of crashing — useful when reacting to lifecycle events that may race with cleanup.

cc.Doorlock

Backing resource: ox_doorlock. doorId is the registered name of the door in ox_doorlock. Unknown names log a warning and return false.

cc.Notification

Backing resource: ox_lib.

cc.VehicleKeys

Backing resource: qbx_vehiclekeys.

cc.TaskUI

In-house module — see the dedicated TaskUI page for the full surface.

Client modules

cc.Target

Backing resource: ox_target.

cc.Interface

Backing resource: ox_lib.

cc.Inventory

Backing resource: ox_inventory.

cc.VehicleKeys

Backing resource: qbx_vehiclekeys.

cc.TaskUI

The TaskUI is server-owned — clients receive state via NUI messages and don’t get a direct API. See TaskUI.