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.

cc_minigames is a FiveM resource that ships a curated library of interactive minigames. Each game returns a single boolean (true = passed, false = failed or cancelled), so calling resources can use them as gates for whatever they want to gate — vault cracking, hotwiring, hacking, fishing, the things people put minigames in front of.

At a glance

Client-only by default

Games run entirely in the player’s NUI. No net events, no server state, no trust assumptions on the result — the caller decides what a true is worth.

Blocking exports

Each minigame export yields the calling coroutine until the player finishes or cancels, then returns a boolean.

Difficulty tiers

Every game accepts difficulty = 'easy' | 'medium' | 'hard' with tuned defaults. Individual knobs can still be passed to override.

Three visual variants

terminal (hacking-terminal chrome with live log), bare (clean card), strip (low-screen band). Each game declares which variants make thematic sense.

What’s inside

31 minigames

Pattern, Circuit, Sequence, Verbal, Memory, Crack, Sniffer, ColorCount, Drill, Lockpick, Fishing, Path, Untangle, Hotkey, Tracer, Aim, Cadence, Flick, Cut, Shell, Outrun, Balance, Masher, Minesweeper, Rhythm, LightsOut, Towers, Safe, plus the multiplayer Frequency game.

Schematic Control Panel

A persistent NUI panel that renders heist schematics and lets the caller drive interactive doors and cameras — sharing the resource’s NUI shell.

DUI session helper

Run any minigame inside a DUI surface so it can be projected onto an in-world prop texture (e.g. a wall-mounted CRT).

Two-player Frequency

Server-authoritative collaborative game where one player reads a target waveform and another tunes a probe to match.

Quick example

CreateThread(function()
    local ok = exports.cc_minigames:Pattern({ difficulty = 'hard', rounds = 6 })
    if ok then
        TriggerServerEvent('myheist:unlockVault')
    end
end)
Continue with installation or jump straight to the minigames reference.