[RELEASE] Casino keypad hacking minigame | Memory minigame

Presenting another hacking mission for GTA Casino heist which was surprisingly teased by Utku back in his fingerprint hacking release but was never released for unknown reasons so here it is.

Basic concept of the game is to remember the pattern generated and enter the same pattern to make the hack successful. You can understand it as the GTA version of the memory based hacking minigame used in well known NoPixel server.

This is supported on all game builds.

Preview:

Video

Usage:

Client command:

TriggerEvent('ultra-keypadhack', life, time, function(outcome, reason)
    -- life: Number of lives player has. Min is 1 and max is 6.
	-- time: Time in seconds which player has. Min and max time can be set in config.lua
	-- result: Reason is the reason of result. Result is an integer code which represents result.
	-- 	   0: Hack failed by player
	-- 	   1: Hack successful
	-- 	   2: Time ran out and hack failed
	-- 	  -1: Error occurred i.e. passed input or contents in config is wrong

	if outcome == 0 then
		print('Hack failed', reason)
	elseif outcome == 1 then
		print('Hack successful')
	elseif outcome == 2 then
		print('Timed out')
	elseif outcome == -1 then
		print('Error occurred',reason)
	end
end)

Download
Repository

You are not allowed to resell, re-release or use it any paid release without permission

My other releases:

20 Likes

Awesome release! Just what I was looking for.

1 Like

Amazing!

1 Like

Great job.

3 Likes

Sweet!

zabardast bhai. naam roshan kar diya tune

When i use the minigame in my bank robbery it only shows the intro and the end, i cant play the minigame. Do anyone now why?

se starting gif but not the scrpt with pattern. an seeing se hack failed gif. whats wrong with this script ?

There is def something wrong with the timer function in this.


I tried integrating this into our bank robbery script and as a couple others have said, it shows the intro, then goes away, and when the timer is done, it comes and shows the failed animation.

I commented out line 469 which was showTimer() and then I’m able to use it, it just doesn’t show the countdown timer in the top left.

If you look at the closed issues in the GitHub for this, you will see where someone has found a fix. That fix was merged in but the release version has not been updated to include the fix. It’s a single line of code you need to add in the client.lua.

1 Like