vs-minigames (Free)

1 min readWXMAPS
ScriptFree

vs-minigames (Free)

A free, standalone minigame pack for FiveM. It renders generic skill-checks and hands your script back a result. It never touches money or items, so it is safe to call from anywhere. This is the companion pack the Laundromat Heist uses for its skill-checks.

Framework-agnostic (Qbox / QBCore / ESX / standalone) and depends only on ox_lib. Want more? vs-minigames-pro (paid) is a drop-in superset with 40+ minigames on the same API.

Install

  1. Add ensure ox_lib before it, then ensure vs-minigames to your server.cfg.
  2. Download it from the Cfx.re portal, logging in with the Cfx account you got it with.

Minigames

ExportSkill-check
StartCableCutCut the wires in the right order
StartCodeDialDial a combination code
StartChargeHold, then release in the green window
StartWireBypassBypass a wired circuit
ShowCodeNoteShow a readable code note

Helpers: ApplyTheme (recolour every minigame at once), IsOpen, and CloseAll.

Calling a minigame

exports['vs-minigames']:StartCodeDial({ length = 4, dialMax = 100 }, function(result)
    if result == 'win' then
        -- reward the player here, server-side
    end
end)

Every call resolves exactly once (win, timeout, wrong, cancel, or closed), so it never hangs.

Questions? Open a ticket on Discord.