Last updated
Last updated
1 / First step, download the script from your .
2 / Drag and drop the folder into your resources, Note (folder name should be "frkn-hack".)
3 / Go to your server.cfg , and ensure frkn-hack
4 / Make sure to insert sql
5 / Add images in folder to your inventory Example : qb-inventory\html\images
6 / For QBcore add following items to your shared / items.lua
7 / You can download Object gizmo here https://github.com/Demigod916/object_gizmo
After doing everything, open the menu with the /hackprops command. Set up a computer first, then install miners next to it and start the process.
You need to put frkn_gpu,frkn_hdd_frkn_cpu and frkn_vpn items for your computer to turn it on. Then you can turn on the computer
OX ITEM
You can easily install the hack system by reading the information on this page
ensure your-framework
ensure frkn-hack
ensure object_gizmo
ensure frkn-text
ensure 0r-npcdialog
frkn_cpu = { name = 'frkn_cpu', label = 'CPU Label', weight = 100, type = 'item', image = 'cpu_item_image.png', unique = true, useable = true, shouldClose = true, combinable = nil, description = 'A Useable CPU' },
frkn_gpu = { name = 'frkn_gpu', label = 'GPU Label', weight = 100, type = 'item', image = 'gpu_item_image.png', unique = true, useable = true, shouldClose = true, combinable = nil, description = 'A Useable GPU' },
frkn_hdd = { name = 'frkn_hdd', label = 'HDD Label', weight = 100, type = 'item', image = 'hdd_item_image.png', unique = true, useable = true, shouldClose = true, combinable = nil, description = 'A Useable HDD' },
frkn_vpn = { name = 'frkn_vpn', label = 'VPN Label', weight = 100, type = 'item', image = 'vpn_item_image.png', unique = true, useable = true, shouldClose = true, combinable = nil, description = 'A Useable VPN' },
frkn_desk1 = { name = 'frkn_desk1', label = 'Desk 1 Label', weight = 100, type = 'item', image = 'desk1_item_image.png', unique = true, useable = true, shouldClose = true, combinable = nil, description = 'A Useable Desk 1' },
frkn_desk2 = { name = 'frkn_desk2', label = 'Desk 2 Label', weight = 100, type = 'item', image = 'desk2_item_image.png', unique = true, useable = true, shouldClose = true, combinable = nil, description = 'A Useable Desk 2' },
frkn_desk3 = { name = 'frkn_desk3', label = 'Desk 3 Label', weight = 100, type = 'item', image = 'desk3_item_image.png', unique = true, useable = true, shouldClose = true, combinable = nil, description = 'A Useable Desk 3' },
frkn_desk4 = { name = 'frkn_desk4', label = 'Desk 4 Label', weight = 100, type = 'item', image = 'desk4_item_image.png', unique = true, useable = true, shouldClose = true, combinable = nil, description = 'A Useable Desk 4' },
frkn_gpu_miner_1 = { name = 'frkn_gpu_miner_1', label = 'GPU Miner 1 Label', weight = 100, type = 'item', image = 'gpu_miner_1_item_image.png', unique = true, useable = true, shouldClose = true, combinable = nil, description = 'A Useable GPU Miner 1' },
frkn_gpu_miner_2 = { name = 'frkn_gpu_miner_2', label = 'GPU Miner 2 Label', weight = 100, type = 'item', image = 'gpu_miner_2_item_image.png', unique = true, useable = true, shouldClose = true, combinable = nil, description = 'A Useable GPU Miner 2' },
frkn_gpu_miner_3 = { name = 'frkn_gpu_miner_3', label = 'GPU Miner 3 Label', weight = 100, type = 'item', image = 'gpu_miner_3_item_image.png', unique = true, useable = true, shouldClose = true, combinable = nil, description = 'A Useable GPU Miner 3' },
frkn_gpu_miner_4 = { name = 'frkn_gpu_miner_4', label = 'GPU Miner 4 Label', weight = 100, type = 'item', image = 'gpu_miner_4_item_image.png', unique = true, useable = true, shouldClose = true, combinable = nil, description = 'A Useable GPU Miner 4' },
frkn_server1 = { name = 'frkn_server1', label = 'Server 1 Label', weight = 100, type = 'item', image = 'server1_item_image.png', unique = true, useable = true, shouldClose = true, combinable = nil, description = 'A Useable Server 1' },
frkn_server2 = { name = 'frkn_server2', label = 'Server 2 Label', weight = 100, type = 'item', image = 'server2_item_image.png', unique = true, useable = true, shouldClose = true, combinable = nil, description = 'A Useable Server 2' },
frkn_server3 = { name = 'frkn_server3', label = 'Server 3 Label', weight = 100, type = 'item', image = 'server3_item_image.png', unique = true, useable = true, shouldClose = true, combinable = nil, description = 'A Useable Server 3' },
frkn_server4 = { name = 'frkn_server4', label = 'Server 4 Label', weight = 100, type = 'item', image = 'server4_item_image.png', unique = true, useable = true, shouldClose = true, combinable = nil, description = 'A Useable Server 4' },
frkn_server5 = { name = 'frkn_server5', label = 'Server 5 Label', weight = 100, type = 'item', image = 'server5_item_image.png', unique = true, useable = true, shouldClose = true,combinable = nil, description = 'A Useable Server 5' },
tablet = { name = 'tablet', label = 'Tablet', weight = 100, type = 'item', image = 'tablet.png', unique = true, useable = true, shouldClose = true,combinable = nil, description = 'Tablet For HQ' },
['frkn_cpu'] = {
label = 'CPU Label',
weight = 100,
stack = false,
close = true,
description = 'A Useable CPU',
client = {
image = 'cpu_item_image.png',
}
},
['frkn_gpu'] = {
label = 'GPU Label',
weight = 100,
stack = false,
close = true,
description = 'A Useable GPU',
client = {
image = 'gpu_item_image.png',
}
},
['frkn_hdd'] = {
label = 'HDD Label',
weight = 100,
stack = false,
close = true,
description = 'A Useable HDD',
client = {
image = 'hdd_item_image.png',
}
},
['frkn_vpn'] = {
label = 'VPN Label',
weight = 100,
stack = false,
close = true,
description = 'A Useable VPN',
client = {
image = 'vpn_item_image.png',
}
},
['frkn_desk1'] = {
label = 'Desk 1 Label',
weight = 100,
stack = false,
close = true,
description = 'A Useable Desk 1',
client = {
image = 'desk1_item_image.png',
}
},
['frkn_desk2'] = {
label = 'Desk 2 Label',
weight = 100,
stack = false,
close = true,
description = 'A Useable Desk 2',
client = {
image = 'desk2_item_image.png',
}
},
['frkn_desk3'] = {
label = 'Desk 3 Label',
weight = 100,
stack = false,
close = true,
description = 'A Useable Desk 3',
client = {
image = 'desk3_item_image.png',
}
},
['frkn_desk4'] = {
label = 'Desk 4 Label',
weight = 100,
stack = false,
close = true,
description = 'A Useable Desk 4',
client = {
image = 'desk4_item_image.png',
}
},
['frkn_gpu_miner_1'] = {
label = 'GPU Miner 1 Label',
weight = 100,
stack = false,
close = true,
description = 'A Useable GPU Miner 1',
client = {
image = 'gpu_miner_1_item_image.png',
}
},
['frkn_gpu_miner_2'] = {
label = 'GPU Miner 2 Label',
weight = 100,
stack = false,
close = true,
description = 'A Useable GPU Miner 2',
client = {
image = 'gpu_miner_2_item_image.png',
}
},
['frkn_gpu_miner_3'] = {
label = 'GPU Miner 3 Label',
weight = 100,
stack = false,
close = true,
description = 'A Useable GPU Miner 3',
client = {
image = 'gpu_miner_3_item_image.png',
}
},
['frkn_gpu_miner_4'] = {
label = 'GPU Miner 4 Label',
weight = 100,
stack = false,
close = true,
description = 'A Useable GPU Miner 4',
client = {
image = 'gpu_miner_4_item_image.png',
}
},
['frkn_server1'] = {
label = 'Server 1 Label',
weight = 100,
stack = false,
close = true,
description = 'A Useable Server 1',
client = {
image = 'server1_item_image.png',
}
},
['frkn_server2'] = {
label = 'Server 2 Label',
weight = 100,
stack = false,
close = true,
description = 'A Useable Server 2',
client = {
image = 'server2_item_image.png',
}
},
['frkn_server3'] = {
label = 'Server 3 Label',
weight = 100,
stack = false,
close = true,
description = 'A Useable Server 3',
client = {
image = 'server3_item_image.png',
}
},
['frkn_server4'] = {
label = 'Server 4 Label',
weight = 100,
stack = false,
close = true,
description = 'A Useable Server 4',
client = {
image = 'server4_item_image.png',
}
},
['frkn_server5'] = {
label = 'Server 5 Label',
weight = 100,
stack = false,
close = true,
description = 'A Useable Server 5',
client = {
image = 'server5_item_image.png',
}
},
['tablet'] = {
label = 'Tablet',
weight = 100,
stack = false,
close = true,
description = 'Tablet For HQ',
client = {
image = 'tablet.png',
}
},