Skip to main content

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_lib ensured before cc_minigames.

Steps

1

Place the resource

Copy the cc_minigames folder into a resources directory the server already loads — typically resources/[cc]/cc_minigames/.
2

Ensure after ox_lib

In server.cfg:
ensure ox_lib
ensure cc_minigames
3

Restart or start the resource

Either restart the server or run ensure cc_minigames in the live console.
4

Verify in-game

Join the server and run /minigame help in the chat console. You should see the full list of supported games and their argument formats.

Test commands

The resource ships two built-in test commands so you can preview every feature without writing calling code:
CommandWhat it does
/minigame <name> [variant] [difficulty] [args...]Runs any minigame locally and prints the result to the console.
/minigame stopCancels the active minigame (resolves it as false).
/minigame helpPrints the full supported argument list for every game.
/control [schematic]Opens the schematic Control Panel in test mode. Defaults to paleto_bank.
/control closeCloses the control panel.
The frequency minigame has a solo debug mode wired into /minigame frequency. It bypasses the server session and draws both viewer and tuner halves side-by-side in one card. See Frequency multiplayer for the real two-player setup.