Hey, I created this mini game for my upcoming Diamond Casino Heist script. I shared this for free on my local website and I wanted to share it on here too, so here it goes.
Screenshots:
Video: Watch hackfinal | Streamable
So basically this is the fivem version of the original gta mini game you may encounter on diamond casino heist.
There is a second version of it which looks like this, but I haven’t finished this yet.
This is very useless on it’s own, so you need to add this to your scripts, just like you add mhacking.
Everything you see on the screen is interactive and real. Connection time countdown, scramble countdown, access attempts(lifes), 4 levels at bottom right, they are all real.
My tests (which was a lot) produced no error, but if you do encounter any issue let me know.
Usage:
-- starting the mini game
TriggerEvent("utk_fingerprint:Start", levels, lifes, time, callback)
-- levels is how many levels you want. Max is 4, Min is 1
-- lifes is how many life player has, Max is 6, Min is 1
-- time is how much time player has in minutes, Max is 9, min is 1 (I highly recommend to set it between 3-1)
-- callback is the callback function to catch the outcome
-- catching the outcome
-- reason paramater is only passed if the player fails to complete hack game.
-- method 1:
TriggerEvent("utk_fingerprint:Start", levels, lifes, time, function(outcome, reason)
if outcome == true then
print("Success!!")
elseif outcome == false then
print("Failed! Reason: "..reason)
end
end)
-- method 2:
TriggerEvent("utk_fingerprint:Start", levels, lifes, time, HackFinished)
function HackFinished(outcome, reason)
if outcome == true then
print("Success!!")
elseif outcome == false then
print("Failed! Reason: "..reason)
end
end
How to play?
You match 4 parts of the big fingerprint and press TAB to check, if it mathces you proceed to next level.