🛠️Config
TZMCPonsonbysHeistConfig = {}
--[[
INSTALLATION
memorygame
This resource requires 'memorygame'. You can install this by following this link: https://github.com/pushkart2/memorygame.
Finger-Print-Hacking-Game
This resource requires 'Finger-Print-Hacking-Game'. You can install this by following this link: https://github.com/utkuali/Finger-Print-Hacking-Game. Once you have installed 'Finger-Print-Hacking-Game', you will need to alter some of the code to prevent the inventory from opening every time you press tab to confirm the hack. Follow the following steps to make these changes:
1. Navigate to ../utk_fingerprint/client.lua
2. Head to line 208 and replace 'elseif IsControlJustReleased(2, 204) then' with the following text:
elseif IsControlJustReleased(2, 22) then
3. Head to line 613 and replace 'function F_1() DisableControlAction(0, 73, false) DisableControlAction(0, 24, true) DisableControlAction(0, 257, true) DisableControlAction(0, 25, true) DisableControlAction(0, 263, true) DisableControlAction(0, 32, true) DisableControlAction(0, 34, true) DisableControlAction(0, 31, true) DisableControlAction(0, 30, true) DisableControlAction(0, 45, true) DisableControlAction(0, 22, true) DisableControlAction(0, 44, true) DisableControlAction(0, 37, true) DisableControlAction(0, 23, true) DisableControlAction(0, 288, true) DisableControlAction(0, 289, true) DisableControlAction(0, 170, true) DisableControlAction(0, 167, true) DisableControlAction(0, 73, true) DisableControlAction(2, 199, true) DisableControlAction(0, 47, true) DisableControlAction(0, 264, true) DisableControlAction(0, 257, true) DisableControlAction(0, 140, true) DisableControlAction(0, 141, true) DisableControlAction(0, 142, true) DisableControlAction(0, 143, true) end' with the following text:
function F_1() DisableControlAction(0, 73, false) DisableControlAction(0, 24, true) DisableControlAction(0, 257, true) DisableControlAction(0, 25, true) DisableControlAction(0, 263, true) DisableControlAction(0, 32, true) DisableControlAction(0, 34, true) DisableControlAction(0, 31, true) DisableControlAction(0, 30, true) DisableControlAction(0, 45, true) DisableControlAction(0, 44, true) DisableControlAction(0, 37, true) DisableControlAction(0, 23, true) DisableControlAction(0, 288, true) DisableControlAction(0, 289, true) DisableControlAction(0, 170, true) DisableControlAction(0, 167, true) DisableControlAction(0, 73, true) DisableControlAction(2, 199, true) DisableControlAction(0, 47, true) DisableControlAction(0, 264, true) DisableControlAction(0, 257, true) DisableControlAction(0, 140, true) DisableControlAction(0, 141, true) DisableControlAction(0, 142, true) DisableControlAction(0, 143, true) end
4. Head to line 683 and replace 'F_11(GetControlInstructionalButton(2, 192, true))' with the following text:
F_11(GetControlInstructionalButton(2, 22, true))
5. You've now updated the hack to now use space bar instead of tab to confirm the fingerprint combination. If you run into any issues, email us at hello@tzmc.dev and we can help.
]]--
-- COOLDOWNS --
TZMCPonsonbysHeistConfig.LockGateDoor = 3600 -- How many seconds till the gate locks after being thermited
TZMCPonsonbysHeistConfig.SafeCooldown = 3600 -- How many seconds till the safe can be cracked again
-- QB DOOR CONFIG --
TZMCPonsonbysHeistConfig.DoorID = 16
-- FINGERPRINT MINGAME --
TZMCPonsonbysHeistConfig.ItemRequiredFingerprint = {
["trojan_usb"] = 1,
["electronickit"] = 1,
}
TZMCPonsonbysHeistConfig.Levels = 2 -- levels is how many levels you want. Max is 4, Min is 1
TZMCPonsonbysHeistConfig.Lifes = 6 -- lifes is how many life player has, Max is 6, Min is 1
TZMCPonsonbysHeistConfig.Time = 2 -- time is how much time player has in minutes, Max is 9, min is 1 (I highly recommend to set it between 3-1)
-- THERMITE MINIGAME --
TZMCPonsonbysHeistConfig.ItemRequiredThermite = {
["thermite"] = 1
}
TZMCPonsonbysHeistConfig.CorrectCubesRequired = 10 -- How many cubes that need to be correct before passing
TZMCPonsonbysHeistConfig.IncorrectCubesRequired = 3 -- How many cubes that need to be incorrect before failing
TZMCPonsonbysHeistConfig.PatternPreviewTime = 3 -- How many seconds a player can see the complete patern to memorise it
TZMCPonsonbysHeistConfig.PatternCompleteTime = 10 -- How many seconds a player has to complete the minigame
--[[
PAYOUT
item - This is the item that is given to the player.
odds - This is the percentage chance of the player recieving this item, it is best to always set at least one item to 100% chance of recieving it.
minimum/maximum - The minimum/maximum amount of the item. This will select a number between these numbers to give.
]]--
TZMCPonsonbysHeistConfig.HeistPayout = {
{
item = "rolex",
odds = 100,
minimum = 10,
maximuim = 30
},
{
item = "diamond_ring",
odds = 30,
minimum = 5,
maximuim = 15
},
{
item = "diamond",
odds = 20,
minimum = 1,
maximuim = 5
},
{
item = "goldchain",
odds = 100,
minimum = 10,
maximuim = 30
},
{
item = "10kgoldchain",
odds = 15,
minimum = 1,
maximuim = 10
},
{
item = "goldbar",
odds = 20,
minimum = 1,
maximuim = 3
}
}
-- NOTIFICATIONS --
TZMCPonsonbysHeistConfig.UseQBNotify = true
TZMCPonsonbysHeistConfig.NotificationEvent = "" -- If you're using your own notification system, enter the event here. If you leave this blank and set QBNotify to false this will use the FiveM chat to notify the player. The parameters are (text, status) Status can be either 'success' or 'error'.
TZMCPonsonbysHeistConfig.SuccessTitle = 'Success'
TZMCPonsonbysHeistConfig.ErrorTitle = 'Error'
TZMCPonsonbysHeistConfig.MissingItem = "Seems that you're missing something..."
TZMCPonsonbysHeistConfig.ThermiteFailed = "Thermite failed"
TZMCPonsonbysHeistConfig.DoorOpened = "The gate door is open"
TZMCPonsonbysHeistConfig.SafeHackFail = "You failed to crack the safe"
TZMCPonsonbysHeistConfig.MinigameActive = "Someone is already doing this..."
TZMCPonsonbysHeistConfig.PoliceRobberyTitleAlert = "Ponsonbys Robbery"
TZMCPonsonbysHeistConfig.PoliceThermiteActive = "A gate door is being tampered with"
TZMCPonsonbysHeistConfig.PoliceSafeActive = "A safe is being tampered with"
Last updated