NoPixel Based Lockpick from QBFramework
This was created into a standalone minigame resource for all frameworks (ESX, OX, and QBCore)
exports['CircleMinigame']:StartLockPickCircle(amount, time, function(success)
RegisterCommand("lpgame", function()
local time = math.random(7,10)
local circles = math.random(2,4)
local success = exports['CircleMinigame']:StartLockPickCircle(circles, time, success)
print(success)
if success then
print("WIN")
else
print("FAIL")
end
end)