Documentation Index
Fetch the complete documentation index at: https://docs.cc-scripts.com/llms.txt
Use this file to discover all available pages before exploring further.
Requirements
-
FiveM server with
lua54 'yes'support (the resource declares it). -
ox_libensured beforecc_lib— required as a hardox_lib 'locale'dependency and pulled in via'@ox_lib/init.lua'. -
At least one backing resource per module slot you intend to use:
Modules whose backing resource isn’t running are simply absent from the
Module Backing resource Coreqbx_coreInventoryox_inventory(orqb-inventoryon server)Targetox_targetDoorlockox_doorlockNotificationox_libInterfaceox_libVehicleKeysqbx_vehiclekeysGroupscc_lib(in-house, always present)TaskUIcc_lib(in-house, always present)cctable — there’s no fallback.
Steps
Ensure boot order
cc_lib probes for backing resources at start, so it must boot after them and before anything that calls into it.Declare the dependency
In any resource calling
exports.cc_lib:GetLib(), add cc_lib to fxmanifest.lua:Test commands
The TaskUI module ships a small test harness so you can verify the full surface without writing calling code:| Command | What it does |
|---|---|
/taskui_test | Creates a demo Fleeca-Heist task list anchored to the right. Runs a scripted sequence that exercises status changes, counter increments, master-timer deduct, per-task countdowns, and AddTask. |
/taskui_test left | Same, anchored to the left. |
/taskui_test deduct <seconds> | Deducts the given number of seconds from the active demo list’s master timer. |
/taskui_test add <seconds> | Adds the given number of seconds to the active demo list’s master timer. |
/taskui_test stop | Destroys the active demo list. |