Configuration
Config = {}
Config.framework = {
name = 'auto', -- Only esx or qb or auto. If auto, it will detect the framework automatically.
targetScript = 'ox_target', -- Target script name (default or qtarget or qb-target or ox_target)
useOxNotify = true, -- Use ox_lib instead of ESX.ShowNotification or QBCore.Functions.Notify
debug = false, -- Debug mode (only developers)
minigameScriptName = "rm_minigames" -- Minigame script name for rainmad minigames
}
Config.moneyOptions = {
blackMoney = false, -- Use black money instead of money
blackMoneyName = "markedbills", -- if you are using esx this should be "black_money" or if you are using qb this should be "markedbills"
blackMoneyIsItem = true,
useMetadataForBlackMoney = true,
moneyName = "money",
moneyIsItem = false,
}
Config.police = {
dispatch = 'default', -- cd_dispatch | qs-dispatch | ps-dispatch | rcore_dispatch | default
requiredPoliceCount = 0, -- required police count for start heist
dispatchJobs = { 'police', 'sheriff' },
}
Config.robbery = {
cooldown = 300, -- Cooldown time in seconds
startHeist = {
pedModel = "u_m_m_jewelsec_01",
coords = vector4(501.75, 5604.05, 796.91, 177.09)
},
finishHeist = {
coords = vector3(1215.98, -2980.97, 5.87)
},
terminalHack = {
duration = 60, -- duration of hack minigame in seconds
solutionLength = 5, -- solution length of hack minigame
requiredItem = "hack_device", -- item required for hack terminal
removeItem = true, -- remove item after use
unlockCd = 10, -- terminal unlock cooldown in seconds
coords = vector3(-908.53, 3977.79, 168.1),
},
guards = {
{
pedModel = "s_m_y_ammucity_01",
coords = vector4(-868.542, 4075.791, 164.732, 45.771),
weapon = "WEAPON_SPECIALCARBINE",
armor = 100,
},
{
pedModel = "s_m_y_ammucity_01",
coords = vector4(-875.837, 4077.762, 163.907, 310.466),
weapon = "WEAPON_SPECIALCARBINE",
armor = 100,
},
{
pedModel = "s_m_y_ammucity_01",
coords = vector4(-908.076, 4004.457, 167.963, 353.969),
weapon = "WEAPON_SPECIALCARBINE",
armor = 100,
},
{
pedModel = "s_m_y_ammucity_01",
coords = vector4(-913.773, 4007.615, 167.962, 317.245),
weapon = "WEAPON_SPECIALCARBINE",
armor = 100,
},
{
pedModel = "s_m_y_armymech_01",
coords = vector4(-925.643, 3997.322, 168.001, 262.15),
weapon = "WEAPON_SPECIALCARBINE",
armor = 100,
},
{
pedModel = "s_m_y_armymech_01",
coords = vector4(-922.744, 3986.435, 167.996, 314.309),
weapon = "WEAPON_SPECIALCARBINE",
armor = 100,
},
{
pedModel = "s_m_y_armymech_01",
coords = vector4(-911.895, 3981.309, 168.095, 344.483),
weapon = "WEAPON_SPECIALCARBINE",
armor = 100,
},
{
pedModel = "s_m_y_armymech_01",
coords = vector4(-929.264, 3993.133, 172.766, 276.274),
weapon = "WEAPON_SPECIALCARBINE",
armor = 100,
},
{
pedModel = "s_m_y_armymech_01",
coords = vector4(-925.281, 4002.470, 172.766, 267.413),
weapon = "WEAPON_SPECIALCARBINE",
armor = 100,
},
},
truck = {
model = "mule3",
coords = vector4(-886.03, 3972.27, 168.24, 151.22),
},
goldTrolleyMoney = 100000, -- money in gold trolleys
trolleys = {
{
model = "ch_prop_gold_trolly_01a",
coords = vector4(-853.87860107422, 3957.3996582031, 167.47560119629, 147.67414855957),
type = "gold_trolley",
},
{
model = "ch_prop_gold_trolly_01a",
coords = vector4(-854.51715087891, 3956.2905273438, 167.47883605957, 149.03063964844),
type = "gold_trolley",
},
{
model = "ch_prop_gold_trolly_01a",
coords = vector4(-854.97003173828, 3954.7963867188, 167.47985839844, 146.35563659668),
type = "gold_trolley",
},
{
model = "ch_prop_gold_trolly_01a",
coords = vector4(-856.81610107422, 3951.2370605469, 167.48028564453, 160.80499267578),
type = "gold_trolley",
},
{
model = "ch_prop_gold_trolly_01a",
coords = vector4(-857.47900390625, 3950.0283203125, 167.48237609863, 148.57244873047),
type = "gold_trolley",
},
{
model = "ch_prop_gold_trolly_01a",
coords = vector4(-858.51550292969, 3949.0739746094, 167.48272705078, 150.27795410156),
type = "gold_trolley",
},
{
model = "ch_prop_ch_cash_trolly_01b",
coords = vector4(-867.93572998047, 3953.8666992188, 167.47821044922, 305.45587158203),
type = "cash_trolley",
reward = function()
return math.random(2000, 5000)
end
},
{
model = "ch_prop_ch_cash_trolly_01b",
coords = vector4(-866.08166503906, 3953.0139160156, 167.48446655273, 2.4030637741089),
type = "cash_trolley",
reward = function()
return math.random(2000, 5000)
end
},
{
model = "ch_prop_ch_cash_trolly_01b",
coords = vector4(-863.97210693359, 3951.6474609375, 167.48754882812, 318.44149780273),
type = "cash_trolley",
reward = function()
return math.random(2000, 5000)
end
},
{
model = "ch_prop_ch_cash_trolly_01b",
coords = vector4(-862.08966064453, 3950.791015625, 167.48274230957, 0.0),
type = "cash_trolley",
reward = function()
return math.random(2000, 5000)
end
},
{
model = "ex_prop_crate_expl_sc",
coords = vector4(-858.43035888672, 3966.3757324219, 167.12171936035, 296.96484375),
type = "weapon_crate",
items = {
{name = "WEAPON_PISTOL", count = 1},
{name = "WEAPON_SNSPISTOL", count = 1},
{name = "WEAPON_PUMPSHOTGUN", count = 1},
},
},
{
model = "ex_prop_crate_expl_sc",
coords = vector4(-861.40313720703, 3967.9877929688, 167.1201171875, 4.7477474212646),
type = "weapon_crate",
items = {
{name = "WEAPON_PISTOL", count = 1},
{name = "WEAPON_SNSPISTOL", count = 1},
{name = "WEAPON_PUMPSHOTGUN", count = 1},
},
},
{
model = "h4_prop_h4_table_isl_01a",
coords = vector4(-862.31622314453, 3956.6638183594, 167.00578308105, 329.42700195312),
type = "drugs_table",
items = {
{ name = "coke_brick", count = function() return math.random(5, 8) end, sellPrice = 100 },
},
},
{
model = "h4_prop_h4_table_isl_01a",
coords = vector4(-860.38104248047, 3960.3232421875, 167.00100708008, 329.42700195312),
type = "drugs_table",
items = {
{ name = "coke_brick", count = function() return math.random(5, 8) end, sellPrice = 100 },
},
},
{
model = "h4_prop_h4_table_isl_01a",
coords = vector4(-863.68664550781, 3962.2702636719, 167.00140380859, 329.4267578125),
type = "drugs_table",
items = {
{ name = "coke_brick", count = function() return math.random(5, 8) end, sellPrice = 100 },
},
},
{
model = "h4_prop_h4_table_isl_01a",
coords = vector4(-865.56628417969, 3958.5773925781, 167.00578308105, 329.42700195312),
type = "drugs_table",
items = {
{ name = "coke_brick", count = function() return math.random(5, 8) end, sellPrice = 100 },
},
},
},
}
Strings = {
["start_heist_label"] = "Start Heist",
["heist_cooldown"] = "Heist is on cooldown. Please wait before starting another.",
["not_enough_police"] = "Not enough police officers are available to start the heist.",
["you_dont_have_item"] = "You don't have the required item: %s",
["mountain_heist_blip"] = "Mountain",
["terminal_hack_notify"] = "You need to hack the terminal to unlock the door.",
["start_terminal_hack"] = "Hack the Terminal",
["terminal_hack_success"] = "Terminal hack successful! Door will open in %s seconds.",
["terminal_hack_label"] = "Terminal Hack",
["terminal_hack_failed"] = "Terminal hack failed! Please try again.",
["no_truck_nearby"] = "No truck nearby. You need the truck to take the trolleys.",
["drag_gold_trolley"] = "Drag Gold Trolley",
["grab_cash_trolley"] = "Grab Cash",
["loot_weapon_crate"] = "Loot Weapon Crate",
["steal_drugs_table"] = "Steal Drugs",
["heist_finish_location"] = "Deliver the truck to the point marked on the map.",
["heist_finish_blip"] = "Deliver Truck",
["loot_weapon_label"] = "Looting Weapon Crate",
["detach_trolley_action"] = "[E] - Load into the vehicle",
["finish_heist_action"] = "[E] - Deliver the Truck",
["add_money_log"] = "Player: %s\nIdentifier: %s\nAmount: %s",
["add_item_log"] = "Player: %s\nIdentifier: %s\nItem: %s\nAmount: %s",
}
Last updated