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
- Add
ensure ox_libbefore it, thenensure vs-minigamesto yourserver.cfg. - Download it from the Cfx.re portal, logging in with the Cfx account you got it with.
Minigames
| Export | Skill-check |
|---|---|
StartCableCut | Cut the wires in the right order |
StartCodeDial | Dial a combination code |
StartCharge | Hold, then release in the green window |
StartWireBypass | Bypass a wired circuit |
ShowCodeNote | Show 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.