Configuration
Detailed explanation of the config file to adapt the resource to your player needs.
Last updated
Detailed explanation of the config file to adapt the resource to your player needs.
Last updated
Config = {}
Config.Framework = "qb" -- "esx"
Config.Inventory = "qb" -- "qb", "ox", "qs"
Config.QBInventory = "old" -- new
Config.Target = "qb" -- ox
Config.FrameworkPseudo = 'qb-core'
Config.UseInteract = true
Config.Doorlock = 'qb'
--::::::::::::::::::::::::: NPC DIALOG ::::::::::::::::::::::::::::::
Config.UseNPCDialog = true
-- Only if NPCDialog is set to false
Config.NPC = {
model = "a_m_m_ktown_01",
anim = "CODE_HUMAN_MEDIC_TIME_OF_DEATH",
coords = vector4(-1254.59, -671.23, 24.99, 304.43)
}
--:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Config.Alarm = {
started = false,
dispatch = 'qb-core',
url = 'https://www.youtube.com/watch?v=EnRK43JkxJk', -- alarm URL
time = 3, -- 3 minutes and the alarm sound will stop
}
Config.MiniumCops = 0
Config.Timeout = 180 -- 3 hours timeout between each robbery
Config.Item = {
name = 'rfid_cloner',
uses = 5, -- max usage of 1 item
}
Config.RC = `rcbandito`
Config.RCController = `prop_controller_01`
Config.Generators = {
-- generator hacks
{
label = 'Disable',
coords = vector3(-1299.57, -818.49, 2.17),
ped = vector4(-1299.80, -818.50, 2.40, 33.91),
item = 'rfid_cloner',
id = 'mazebank-5',
disabled = false,
time = 15, --automatically re-enabled after 'time' seconds
},
{
label = 'Disable',
coords = vector3(-1296.70, -816.32, 2.10),
ped = vector4(-1296.90, -816.38, 2.40, 37.67),
item = 'rfid_cloner',
id = 'mazebank-5',
disabled = false,
time = 15, --automatically re-enabled after 'time' seconds
},
}
Config.Server = { -- important if it is not disabled the camera will not detect the door codes
{
label = 'Disable',
coords = vector3(-1290.35, -828.22, 4.32),
ped = vector4(-1290.45, -828.20, 4.55, 32.59),
item = 'rfid_cloner',
disabled = false,
},
}
Config.Doors = {
-- vent door
{
label = 'Contact Tech Support',
coords = vector3(-1316.41, -824.21, 21.65),
ped = vector4(-1315.77, -824.16, 21.85, 97.18),
item = nil,
id = 'mazebank-1',
},
{
label = 'Enter Code',
coords = vector3(-1305.96, -803.07, 17.74),
ped = vector4(-1306.10, -803.01, 17.95, 128.19),
item = 'rfid_cloner',
id = 'mazebank-3',
},
{
label = 'Enter Code',
coords = vector3(-1320.65, -809.23, 17.86),
ped = vector4(-1320.64, -809.11, 17.90, 37.0),
item = 'rfid_cloner',
id = 'mazebank-4',
},
}
Config.RFID = {
{ -- 1st door
coords = vector3(-1314.89, -812.79, 20.58),
code = '', -- code will be generated on start mission !!!!!! don't touch this
label = 'Scan RFID Tags',
id = 'mazebank-3', -- give code for this door
},
{ -- 2nd door
coords = vector3(-1326.09, -808.11, 19.62),
code = '', -- code will be generated on start mission !!!!!! don't touch this
label = 'Scan RFID Tags',
id = 'mazebank-4', -- give code for this door
}
}
Config.Terminal = { -- important if it is not disabled the camera will not detect the door codes
{
label = 'Access Terminal',
coords = vector3(-1293.56, -828.69, 12.157),
ped = vector4(-1293.17, -828.43, 12.05, 131.84),
item = nil,
},
}
Config.CamDoors = {
{
id = 'mazebank-6',
code = '', -- code will be generated on start mission !!!!!! don't touch this
},
{
id = 'mazebank-7',
code = '', -- code will be generated on start mission !!!!!! don't touch this
},
{
id = 'mazebank-8',
code = '', -- code will be generated on start mission !!!!!! don't touch this
},
{
id = 'mazebank-9',
code = '', -- code will be generated on start mission !!!!!! don't touch this
},
{
id = 'mazebank-10',
code = '', -- code will be generated on start mission !!!!!! don't touch this
},
{
id = 'mazebank-11',
code = '', -- code will be generated on start mission !!!!!! don't touch this
},
}
Config.Laser = {
power = vector3(-1304.67, -825.99, 12.34),
label = 'Disable Power',
item = 'rfid_cloner',
ped = vector4(-1304.60, -825.70, 12.43, 315.08),
coords = vector3(-1312.93, -828.19, 11.11),
radius = 4.0,
time = 180, -- laser automatically re-enabled after 10 seconds if the vault door is still close
disabled = false,
}
Config.Vault = { -- it uses laser time to be re-enabled again
vault = {
open = false,
id = 'mazebank-12',
code = '', -- code will be generated on start mission !!!!!! don't touch this
disabled = false,
},
security = {
{ -- right
coords = vector4(-1313.72, -827.22, 12.43, 123.69),
ped = vector4(-1313.78, -827.18, 12.52, 130.15),
id = 'mazebank-12',
prop = 'prop_ld_keypad_01b',
label = 'Hack',
disabled = false,
},
{ -- left
coords = vector4(-1312.05, -829.43, 12.43, 123.69),
ped = vector4(-1312.10, -829.40, 12.50, 130.15),
id = 'mazebank-12',
prop = 'prop_ld_keypad_01b',
label = 'Hack',
disabled = false,
},
}
}
Config.Camera = {
coords = {
vector3(-1323.84, -809.83, 17.40),
vector3(-1325.34, -807.92, 17.40),
},
cams = {
{
name = 'Vault Elevator',
coords = vector3(-1309.51, -818.13, 15.19),
rot = vector3(-29.39, 0.0, -131.59),
doors = {
{
rot = vector3(-27.28, 0.0, -149.08),
id = 'mazebank-6'
}
}
},
{
name = 'Vault Door 1',
coords = vector3(-1310.06, -831.31, 15.21),
rot = vector3(-30.10, 0.0, 20.29),
doors = {
{
rot = vector3(-28.69, 0.0, -1.41),
id = 'mazebank-9'
}
}
},
{
name = 'Vault Door 2',
coords = vector3(-1312.63, -822.85, 15.20),
rot = vector3(-36.40, 0.0, 177.79),
doors = {
{
rot = vector3(-32.19, 0.0, -135.30),
id = 'mazebank-9'
}
}
},
{
name = 'Vault Inside 1',
coords = vector3(-1311.57, -831.31, 14.56),
rot = vector3(-23.10, 0.0, 58.79),
doors = {
{
rot = vector3(-18.19, 0.0, 43.38),
id = 'mazebank-10'
},
{
rot = vector3(-16.79, 0.0, 65.78),
id = 'mazebank-11'
},
{
rot = vector3(-28.69, 0.0, 30.08),
id = 'mazebank-12'
},
}
},
{
name = 'Vault Inside 2',
coords = vector3(-1319.68, -829.30, 14.57),
rot = vector3(-26.60, 0.0, -83.29),
doors = {
{
rot = vector3(-28.69, 0.0, -45.48),
id = 'mazebank-10'
},
{
rot = vector3(-21.00, 0.0, -76.98),
id = 'mazebank-12'
},
}
},
{
name = 'Vault Deposit Box 1',
coords = vector3(-1311.94, -816.99, 15.16),
rot = vector3(-50.40, 0.0, 176.39),
doors = {
{
rot = vector3(-39.89, 0.0, -157.70),
id = 'mazebank-7'
}
}
},
{
name = 'Vault Deposit Box 2',
coords = vector3(-1304.08, -832.24, 15.18),
rot = vector3(-50.40, 0.0, 0.0),
doors = {
{
rot = vector3(-36.39, 0.0, 7.69),
id = 'mazebank-8'
}
}
},
{
name = 'Garage',
coords = vector3(-1311.50, -796.89, 20.78),
rot = vector3(-24.50, 0.0, 164.49),
doors = nil,
},
{
name = 'Hallway',
coords = vector3(-1306.59, -815.65, 20.10),
rot = vector3(-23.79, 0.0, -107.09),
doors = nil,
},
{
name = 'Lobby 1',
coords = vector3(-1300.65, -827.23, 19.36),
rot = vector3(-20.0, 0.0, -119.69),
doors = nil,
},
{
name = 'Lobby 2',
coords = vector3(-1289.74, -841.91, 19.33),
rot = vector3(-22.39, 0.0, 22.39),
doors = nil,
},
{
name = 'Lobby 3',
coords = vector3(-1314.71, -821.66, 20.09),
rot = vector3(-34.30, 0.0, -79.79),
doors = nil,
},
}
}
Config.Arts = {
{
coords = vector4(-1319.044, -825.55, 12.23, 128.41),
ped = vector4(-1318.71, -825.28, 11.05, 127.27),
prop = 'ch_prop_vault_painting_01e',
available = true,
reward = { name = 'painting1', info = { worth = 12520 }, amount = 1}, -- only 1 type of reward per painting
},
{
coords = vector4(-1318.30, -826.54, 12.23, 128.41),
ped = vector4(-1317.94, -826.29, 11.05, 127.27),
prop = 'ch_prop_vault_painting_01i',
available = true,
reward = { name = 'painting2', info = { worth = 12350 }, amount = 1}, -- only 1 type of reward per painting
},
{
coords = vector4(-1321.67, -827.60, 12.23, 128.41),
ped = vector4(-1321.37, -827.28, 11.05, 127.27),
prop = 'ch_prop_vault_painting_01e',
available = true,
reward = { name = 'painting1', info = { worth = 12520 }, amount = 1}, -- only 1 type of reward per painting
},
{
coords = vector4(-1321.02, -828.46, 12.23, 128.41),
ped = vector4(-1320.67, -828.19, 11.05, 127.27),
prop = 'ch_prop_vault_painting_01i',
available = true,
reward = { name = 'painting2', info = { worth = 12350 }, amount = 1}, -- only 1 type of reward per painting
},
}
Config.Trollys = {
-- cash
{
coords = vector4(-1315.80, -829.30, 11.05, 217.0),
available = true,
prop = 'hei_prop_hei_cash_trolly_01',
reward = { name = 'rollcash', info = { worth = 2650 }, amount = 25}, -- only 1 type of reward per trolly
},
{
coords = vector4(-1316.64, -829.94, 11.05, 217.0),
available = true,
prop = 'hei_prop_hei_cash_trolly_01',
reward = { name = 'rollcash', info = { worth = 2650 }, amount = 25}, -- only 1 type of reward per trolly
},
{
coords = vector4(-1317.46, -830.55, 11.05, 217.0),
available = true,
prop = 'hei_prop_hei_cash_trolly_01',
reward = { name = 'rollcash', info = { worth = 2650 }, amount = 25}, -- only 1 type of reward per trolly
},
{
coords = vector4(-1314.75, -830.64, 11.05, 217.0),
available = true,
prop = 'hei_prop_hei_cash_trolly_01',
reward = { name = 'rollcash', info = { worth = 2650 }, amount = 25}, -- only 1 type of reward per trolly
},
{
coords = vector4(-1315.61, -831.28, 11.05, 217.0),
available = true,
prop = 'hei_prop_hei_cash_trolly_01',
reward = { name = 'rollcash', info = { worth = 2650 }, amount = 25}, -- only 1 type of reward per trolly
},
{
coords = vector4(-1316.35, -831.81, 11.05, 217.0),
available = true,
prop = 'hei_prop_hei_cash_trolly_01',
reward = { name = 'rollcash', info = { worth = 2650 }, amount = 25}, -- only 1 type of reward per trolly
},
-- replacing defaults
{
coords = vector4(-1316.06, -833.76, 11.05, 344.6),
available = true,
prop = 'hei_prop_hei_cash_trolly_01',
reward = { name = 'rollcash', info = { worth = 2650 }, amount = 25}, -- only 1 type of reward per trolly
},
{
coords = vector4(-1312.16, -830.82, 11.05, 74.6),
available = true,
prop = 'hei_prop_hei_cash_trolly_01',
reward = { name = 'rollcash', info = { worth = 2650 }, amount = 25}, -- only 1 type of reward per trolly
},
{
coords = vector4(-1317.85, -827.6, 11.05, 217.0),
available = true,
prop = 'hei_prop_hei_cash_trolly_01',
reward = { name = 'rollcash', info = { worth = 2650 }, amount = 25}, -- only 1 type of reward per trolly
},
-- gold
-- replacing default
{
coords = vector4(-1319.55, -825.91, 11.05, 125.92),
available = true,
prop = 'ch_prop_gold_trolly_01a',
reward = { name = 'goldbar', info = { worth = 2650 }, amount = 25}, -- only 1 type of reward per trolly
},
{
coords = vector4(-1318.9, -826.78, 11.05, 125.92),
available = true,
prop = 'ch_prop_gold_trolly_01a',
reward = { name = 'goldbar', info = { worth = 2650 }, amount = 25}, -- only 1 type of reward per trolly
},
{
coords = vector4(-1316.9, -823.88, 11.05, 125.92),
available = true,
prop = 'ch_prop_gold_trolly_01a',
reward = { name = 'goldbar', info = { worth = 2650 }, amount = 25}, -- only 1 type of reward per trolly
},
{
coords = vector4(-1316.25, -824.75, 11.05, 125.92),
available = true,
prop = 'ch_prop_gold_trolly_01a',
reward = { name = 'goldbar', info = { worth = 2650 }, amount = 25}, -- only 1 type of reward per trolly
},
}
------------------------------- DELETE MAP PROPS (client/props.lua)-----------------------
Config.Defaults = {
coords = vector3(-1311.23, -817.16, 24.34),
radius = 25.0,
props = {
{
coords = vector3(-1316.06, -833.76, 11.53),
prop = 'ch_prop_ch_cash_trolly_01c'
},
{
coords = vector3(-1312.16, -830.82, 11.53),
prop = 'ch_prop_ch_cash_trolly_01c'
},
{
coords = vector3(-1317.85, -827.6, 11.53),
prop = 'ch_prop_ch_cash_trolly_01c'
},
{
coords = vector3(-1319.55, -825.91, 11.53),
prop = 'ch_prop_gold_trolly_01c'
},
{
coords = vector3(-1318.9, -826.78, 11.53),
prop = 'ch_prop_gold_trolly_01c'
},
{
coords = vector3(-1316.9, -823.88, 11.53),
prop = 'ch_prop_gold_trolly_01c'
},
{
coords = vector3(-1316.25, -824.75, 11.53),
prop = 'ch_prop_gold_trolly_01c'
},
}
}