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", -- script name for custom minigames
imagePath = 'ox_inventory/web/images', --change this example for ox: 'ox_inventory/web/images' or qb: 'qb-inventory/html/images'
imageFormat = 'png', -- Image format (png, jpg or webp)
k4mb1ATMScriptName = "k4mb1_heist_atms" -- script name for k4mb1 atm props
}
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"}
}
-- for rm_tools sprite
Config.sprite = {
colors = {
background = { r = 241, g = 93, b = 56, a = 255 },
text = { r = 226, g = 232, b = 240, a = 255 },
},
}
Config.robbery = {
showOnlyExistItem = false, -- true: it will show the options for the items in your inventory in the context menu.
cooldownOptions = {
globalCooldown = true,
clientCooldown = false
},
rewardOptions = {
throwMoney = true,
moneyAmount = 15,
},
atmOptions = {
{
propModel = "prop_fleeca_atm",
approachMethods = {
rope = {
enable = true,
targetIcon = "fa-brands fa-openid",
-- none | default | rm minigames --> | typingGame | timedLockpick | timedAction | quickTimeEvent | combinationLock | buttonMashing | angledLockpick | fingerPrint | hackerMinigame | safeCrack
minigame = "none",
itemName = "rope",
removeItem = true,
cooldown = 60,
breakingAmount = 0.1,
},
hack = {
itemName = "hack_phone",
removeItem = true,
targetIcon = "fa-solid fa-mobile-vibrate",
-- none | default | rm minigames --> | typingGame | timedLockpick | timedAction | quickTimeEvent | combinationLock | buttonMashing | angledLockpick | fingerPrint | hackerMinigame | safeCrack
minigame = "none",
solutionLength = 5, -- for default minigame
duration = 60, -- for default minigame
cooldown = 60,
enable = true,
rewards = {
money = function()
return math.random(1000, 5000)
end,
items = {
{
itemName = "bread",
amount = 1
}
}
}
},
thermalDrill = {
itemName = "thermal_drill",
removeItem = true,
targetIcon = "fa-solid fa-bore-hole",
-- none | default | rm minigames --> | typingGame | timedLockpick | timedAction | quickTimeEvent | combinationLock | buttonMashing | angledLockpick | fingerPrint | hackerMinigame | safeCrack
minigame = "none",
cooldown = 60,
enable = true,
discAmount = 3,
rewards = {
money = function()
return math.random(1000, 5000)
end,
items = {
{
itemName = "bread",
amount = 1
}
}
}
},
drill = {
itemName = "drill",
removeItem = true,
targetIcon = "fa-solid fa-bore-hole",
-- none | default | rm minigames --> | typingGame | timedLockpick | timedAction | quickTimeEvent | combinationLock | buttonMashing | angledLockpick | fingerPrint | hackerMinigame | safeCrack
minigame = "none",
cooldown = 60,
enable = true,
rewards = {
money = function()
return math.random(1000, 5000)
end,
items = {
{
itemName = "bread",
amount = 1
}
}
}
},
bomb = {
itemName = "big_bomb",
removeItem = true,
targetIcon = "fa-solid fa-bomb",
-- none | default | rm minigames --> | typingGame | timedLockpick | timedAction | quickTimeEvent | combinationLock | buttonMashing | angledLockpick | fingerPrint | hackerMinigame | safeCrack
minigame = "none",
duration = 1,
enable = true,
cooldown = 60,
rewards = {
money = function()
return math.random(1000, 5000)
end,
items = {
{
itemName = "bread",
amount = 1
}
}
}
},
emp = {
itemName = "emp_bomb",
removeItem = true,
targetIcon = "fa-solid fa-land-mine-on",
-- none | default | rm minigames --> | typingGame | timedLockpick | timedAction | quickTimeEvent | combinationLock | buttonMashing | angledLockpick | fingerPrint | hackerMinigame | safeCrack
minigame = "none",
cooldown = 60,
enable = true,
duration = 3,
rewards = {
money = function()
return math.random(1000, 5000)
end,
items = {
{
itemName = "bread",
amount = 1
}
}
}
},
cardCloning = {
itemName = "cloning_device",
removeItem = true,
targetIcon = "fa-solid fa-clone",
-- none | default | rm minigames --> | typingGame | timedLockpick | timedAction | quickTimeEvent | combinationLock | buttonMashing | angledLockpick | fingerPrint | hackerMinigame | safeCrack
minigame = "none",
pedModels = {
'a_m_m_beach_01', 'a_m_m_business_01', 'a_m_m_eastsa_01', 'a_m_m_farmer_01', 'a_m_m_genfat_01',
'a_m_m_hillbilly_01', 'a_m_m_indian_01', 'a_m_m_mexcntry_01', 'a_m_m_og_boss_01',
'a_m_m_paparazzi_01', 'a_m_m_salton_01', 'a_m_m_soucent_01','a_m_m_street_01',
'a_m_m_trampbeac_01', 'a_m_m_tramp_01', 'a_m_m_tourist_01',
'a_m_o_beach_01', 'a_m_o_genstreet_01', 'a_f_m_beach_01',
'a_f_m_ktown_01', 'a_f_m_soucent_01', 's_f_y_hooker_01',
'a_f_m_tramp_01', 'a_f_m_tourist_01', 'a_f_o_genstreet_01',
's_f_y_clubbar_01', 'u_f_y_danceburl_01', 'u_f_o_carol',
'g_f_y_ballas_01', 'g_f_y_vagos_01', 'g_m_importexport_01',
},
cooldown = 60,
enable = true,
minigameDuration = 30, -- seconds
pcbAmount = 3, -- solder amount
rewards = {
money = function()
return math.random(1000, 5000)
end,
items = {
{
itemName = "bread",
amount = 1
}
}
}
},
smash = {
allowedWeapons = {
[`WEAPON_HATCHET`] = true,
[`WEAPON_UNARMED`] = true,
},
maxHealth = 5000,
targetIcon = "fa-solid fa-hammer",
-- none | default | rm minigames --> | typingGame | timedLockpick | timedAction | quickTimeEvent | combinationLock | buttonMashing | angledLockpick | fingerPrint | hackerMinigame | safeCrack
minigame = "none",
cooldown = 60,
enable = true,
rewards = {
money = function()
return math.random(1000, 5000)
end,
items = {
{
itemName = "bread",
amount = 1
}
}
}
},
weld = { -- working with rm_tools
itemName = "WEAPON_WELD",
targetIcon = "fa-solid fa-screwdriver",
cooldown = 60,
speed = 0.05,
maxDistance = 1.5,
enable = true,
-- none | default | rm minigames --> | typingGame | timedLockpick | timedAction | quickTimeEvent | combinationLock | buttonMashing | angledLockpick | fingerPrint | hackerMinigame | safeCrack
minigame = "none",
rewards = {
money = function()
return math.random(1000, 5000)
end,
items = {
{
itemName = "bread",
amount = 1
}
}
}
},
freezeSpray = {
itemName = "freeze_spray",
removeItem = true,
targetIcon = "fa-solid fa-spray-can-sparkles",
-- none | default | rm minigames --> | typingGame | timedLockpick | timedAction | quickTimeEvent | combinationLock | buttonMashing | angledLockpick | fingerPrint | hackerMinigame | safeCrack
minigame = "none",
cooldown = 60,
enable = true,
rewards = {
money = function()
return math.random(1000, 5000)
end,
items = {
{
itemName = "bread",
amount = 1
}
}
}
},
thermite = {
itemName = "thermite_bomb",
removeItem = true,
targetIcon = "fa-solid fa-temperature-arrow-up",
-- none | default | rm minigames --> | typingGame | timedLockpick | timedAction | quickTimeEvent | combinationLock | buttonMashing | angledLockpick | fingerPrint | hackerMinigame | safeCrack
minigame = "none",
duration = 10,
cooldown = 60,
enable = true,
rewards = {
money = function()
return math.random(1000, 5000)
end,
items = {
{
itemName = "bread",
amount = 1
}
}
}
},
lockpick = { -- Example for custom approach
itemName = "lockpick",
removeItem = true,
targetIcon = "fa-solid fa-screwdriver-wrench",
-- none | default | rm minigames --> | typingGame | timedLockpick | timedAction | quickTimeEvent | combinationLock | buttonMashing | angledLockpick | fingerPrint | hackerMinigame | safeCrack
minigame = "none",
strength = 0.5,
difficulty = 0.5,
pins = 4,
cooldown = 60,
enable = true,
onSelect = function(atmObject, methodName, orderId) --> -- Example for custom approach
useLockpick(atmObject, methodName, orderId) --> client/custom_approaches.lua
end,
rewards = {
money = function()
return math.random(1000, 5000)
end,
items = {
{
itemName = "bread",
amount = 1
}
}
}
},
}
},
{
propModel = "prop_atm_02",
approachMethods = {
rope = {
enable = true,
targetIcon = "fa-brands fa-openid",
-- none | default | rm minigames --> | typingGame | timedLockpick | timedAction | quickTimeEvent | combinationLock | buttonMashing | angledLockpick | fingerPrint | hackerMinigame | safeCrack
minigame = "none",
itemName = "rope",
removeItem = true,
cooldown = 60,
breakingAmount = 0.1,
},
hack = {
itemName = "hack_phone",
removeItem = true,
targetIcon = "fa-solid fa-mobile-vibrate",
-- none | default | rm minigames --> | typingGame | timedLockpick | timedAction | quickTimeEvent | combinationLock | buttonMashing | angledLockpick | fingerPrint | hackerMinigame | safeCrack
minigame = "none",
solutionLength = 5, -- for default minigame
duration = 60, -- for default minigame
cooldown = 60,
enable = true,
rewards = {
money = function()
return math.random(1000, 5000)
end,
items = {
{
itemName = "bread",
amount = 1
}
}
}
},
thermalDrill = {
itemName = "thermal_drill",
removeItem = true,
targetIcon = "fa-solid fa-bore-hole",
-- none | default | rm minigames --> | typingGame | timedLockpick | timedAction | quickTimeEvent | combinationLock | buttonMashing | angledLockpick | fingerPrint | hackerMinigame | safeCrack
minigame = "none",
cooldown = 60,
enable = true,
discAmount = 3,
rewards = {
money = function()
return math.random(1000, 5000)
end,
items = {
{
itemName = "bread",
amount = 1
}
}
}
},
drill = {
itemName = "drill",
removeItem = true,
targetIcon = "fa-solid fa-bore-hole",
-- none | default | rm minigames --> | typingGame | timedLockpick | timedAction | quickTimeEvent | combinationLock | buttonMashing | angledLockpick | fingerPrint | hackerMinigame | safeCrack
minigame = "none",
cooldown = 60,
enable = true,
rewards = {
money = function()
return math.random(1000, 5000)
end,
items = {
{
itemName = "bread",
amount = 1
}
}
}
},
bomb = {
itemName = "big_bomb",
removeItem = true,
targetIcon = "fa-solid fa-bomb",
-- none | default | rm minigames --> | typingGame | timedLockpick | timedAction | quickTimeEvent | combinationLock | buttonMashing | angledLockpick | fingerPrint | hackerMinigame | safeCrack
minigame = "none",
duration = 1,
enable = true,
cooldown = 60,
rewards = {
money = function()
return math.random(1000, 5000)
end,
items = {
{
itemName = "bread",
amount = 1
}
}
}
},
emp = {
itemName = "emp_bomb",
removeItem = true,
targetIcon = "fa-solid fa-land-mine-on",
-- none | default | rm minigames --> | typingGame | timedLockpick | timedAction | quickTimeEvent | combinationLock | buttonMashing | angledLockpick | fingerPrint | hackerMinigame | safeCrack
minigame = "none",
cooldown = 60,
enable = true,
duration = 3,
rewards = {
money = function()
return math.random(1000, 5000)
end,
items = {
{
itemName = "bread",
amount = 1
}
}
}
},
cardCloning = {
itemName = "cloning_device",
removeItem = true,
targetIcon = "fa-solid fa-clone",
-- none | default | rm minigames --> | typingGame | timedLockpick | timedAction | quickTimeEvent | combinationLock | buttonMashing | angledLockpick | fingerPrint | hackerMinigame | safeCrack
minigame = "none",
pedModels = {
'a_m_m_beach_01', 'a_m_m_business_01', 'a_m_m_eastsa_01', 'a_m_m_farmer_01', 'a_m_m_genfat_01',
'a_m_m_hillbilly_01', 'a_m_m_indian_01', 'a_m_m_mexcntry_01', 'a_m_m_og_boss_01',
'a_m_m_paparazzi_01', 'a_m_m_salton_01', 'a_m_m_soucent_01','a_m_m_street_01',
'a_m_m_trampbeac_01', 'a_m_m_tramp_01', 'a_m_m_tourist_01',
'a_m_o_beach_01', 'a_m_o_genstreet_01', 'a_f_m_beach_01',
'a_f_m_ktown_01', 'a_f_m_soucent_01', 's_f_y_hooker_01',
'a_f_m_tramp_01', 'a_f_m_tourist_01', 'a_f_o_genstreet_01',
's_f_y_clubbar_01', 'u_f_y_danceburl_01', 'u_f_o_carol',
'g_f_y_ballas_01', 'g_f_y_vagos_01', 'g_m_importexport_01',
},
cooldown = 60,
enable = true,
minigameDuration = 30, -- seconds
pcbAmount = 3, -- solder amount
rewards = {
money = function()
return math.random(1000, 5000)
end,
items = {
{
itemName = "bread",
amount = 1
}
}
}
},
smash = {
allowedWeapons = {
[`WEAPON_HATCHET`] = true,
[`WEAPON_UNARMED`] = true,
},
maxHealth = 5000,
targetIcon = "fa-solid fa-hammer",
-- none | default | rm minigames --> | typingGame | timedLockpick | timedAction | quickTimeEvent | combinationLock | buttonMashing | angledLockpick | fingerPrint | hackerMinigame | safeCrack
minigame = "none",
cooldown = 60,
enable = true,
rewards = {
money = function()
return math.random(1000, 5000)
end,
items = {
{
itemName = "bread",
amount = 1
}
}
}
},
weld = { -- working with rm_tools
itemName = "WEAPON_WELD",
targetIcon = "fa-solid fa-screwdriver",
cooldown = 60,
speed = 0.05,
maxDistance = 1.5,
enable = true,
-- none | default | rm minigames --> | typingGame | timedLockpick | timedAction | quickTimeEvent | combinationLock | buttonMashing | angledLockpick | fingerPrint | hackerMinigame | safeCrack
minigame = "none",
rewards = {
money = function()
return math.random(1000, 5000)
end,
items = {
{
itemName = "bread",
amount = 1
}
}
}
},
freezeSpray = {
itemName = "freeze_spray",
removeItem = true,
targetIcon = "fa-solid fa-spray-can-sparkles",
-- none | default | rm minigames --> | typingGame | timedLockpick | timedAction | quickTimeEvent | combinationLock | buttonMashing | angledLockpick | fingerPrint | hackerMinigame | safeCrack
minigame = "none",
cooldown = 60,
enable = true,
rewards = {
money = function()
return math.random(1000, 5000)
end,
items = {
{
itemName = "bread",
amount = 1
}
}
}
},
thermite = {
itemName = "thermite_bomb",
removeItem = true,
targetIcon = "fa-solid fa-temperature-arrow-up",
-- none | default | rm minigames --> | typingGame | timedLockpick | timedAction | quickTimeEvent | combinationLock | buttonMashing | angledLockpick | fingerPrint | hackerMinigame | safeCrack
minigame = "none",
duration = 10,
cooldown = 60,
enable = true,
rewards = {
money = function()
return math.random(1000, 5000)
end,
items = {
{
itemName = "bread",
amount = 1
}
}
}
},
lockpick = { -- Example for custom approach
itemName = "lockpick",
removeItem = true,
targetIcon = "fa-solid fa-screwdriver-wrench",
-- none | default | rm minigames --> | typingGame | timedLockpick | timedAction | quickTimeEvent | combinationLock | buttonMashing | angledLockpick | fingerPrint | hackerMinigame | safeCrack
minigame = "none",
strength = 0.5,
difficulty = 0.5,
pins = 4,
cooldown = 60,
enable = true,
onSelect = function(atmObject, methodName, orderId) --> -- Example for custom approach
useLockpick(atmObject, methodName, orderId) --> client/custom_approaches.lua
end,
rewards = {
money = function()
return math.random(1000, 5000)
end,
items = {
{
itemName = "bread",
amount = 1
}
}
}
},
}
},
{
propModel = "prop_atm_03",
approachMethods = {
rope = {
enable = true,
targetIcon = "fa-brands fa-openid",
-- none | default | rm minigames --> | typingGame | timedLockpick | timedAction | quickTimeEvent | combinationLock | buttonMashing | angledLockpick | fingerPrint | hackerMinigame | safeCrack
minigame = "none",
itemName = "rope",
removeItem = true,
cooldown = 60,
breakingAmount = 0.1,
},
hack = {
itemName = "hack_phone",
removeItem = true,
targetIcon = "fa-solid fa-mobile-vibrate",
-- none | default | rm minigames --> | typingGame | timedLockpick | timedAction | quickTimeEvent | combinationLock | buttonMashing | angledLockpick | fingerPrint | hackerMinigame | safeCrack
minigame = "none",
solutionLength = 5, -- for default minigame
duration = 60, -- for default minigame
cooldown = 60,
enable = true,
rewards = {
money = function()
return math.random(1000, 5000)
end,
items = {
{
itemName = "bread",
amount = 1
}
}
}
},
thermalDrill = {
itemName = "thermal_drill",
removeItem = true,
targetIcon = "fa-solid fa-bore-hole",
-- none | default | rm minigames --> | typingGame | timedLockpick | timedAction | quickTimeEvent | combinationLock | buttonMashing | angledLockpick | fingerPrint | hackerMinigame | safeCrack
minigame = "none",
cooldown = 60,
enable = true,
discAmount = 3,
rewards = {
money = function()
return math.random(1000, 5000)
end,
items = {
{
itemName = "bread",
amount = 1
}
}
}
},
drill = {
itemName = "drill",
removeItem = true,
targetIcon = "fa-solid fa-bore-hole",
-- none | default | rm minigames --> | typingGame | timedLockpick | timedAction | quickTimeEvent | combinationLock | buttonMashing | angledLockpick | fingerPrint | hackerMinigame | safeCrack
minigame = "none",
cooldown = 60,
enable = true,
rewards = {
money = function()
return math.random(1000, 5000)
end,
items = {
{
itemName = "bread",
amount = 1
}
}
}
},
bomb = {
itemName = "big_bomb",
removeItem = true,
targetIcon = "fa-solid fa-bomb",
-- none | default | rm minigames --> | typingGame | timedLockpick | timedAction | quickTimeEvent | combinationLock | buttonMashing | angledLockpick | fingerPrint | hackerMinigame | safeCrack
minigame = "none",
duration = 1,
enable = true,
cooldown = 60,
rewards = {
money = function()
return math.random(1000, 5000)
end,
items = {
{
itemName = "bread",
amount = 1
}
}
}
},
emp = {
itemName = "emp_bomb",
removeItem = true,
targetIcon = "fa-solid fa-land-mine-on",
-- none | default | rm minigames --> | typingGame | timedLockpick | timedAction | quickTimeEvent | combinationLock | buttonMashing | angledLockpick | fingerPrint | hackerMinigame | safeCrack
minigame = "none",
cooldown = 60,
enable = true,
duration = 3,
rewards = {
money = function()
return math.random(1000, 5000)
end,
items = {
{
itemName = "bread",
amount = 1
}
}
}
},
cardCloning = {
itemName = "cloning_device",
removeItem = true,
targetIcon = "fa-solid fa-clone",
-- none | default | rm minigames --> | typingGame | timedLockpick | timedAction | quickTimeEvent | combinationLock | buttonMashing | angledLockpick | fingerPrint | hackerMinigame | safeCrack
minigame = "none",
pedModels = {
'a_m_m_beach_01', 'a_m_m_business_01', 'a_m_m_eastsa_01', 'a_m_m_farmer_01', 'a_m_m_genfat_01',
'a_m_m_hillbilly_01', 'a_m_m_indian_01', 'a_m_m_mexcntry_01', 'a_m_m_og_boss_01',
'a_m_m_paparazzi_01', 'a_m_m_salton_01', 'a_m_m_soucent_01','a_m_m_street_01',
'a_m_m_trampbeac_01', 'a_m_m_tramp_01', 'a_m_m_tourist_01',
'a_m_o_beach_01', 'a_m_o_genstreet_01', 'a_f_m_beach_01',
'a_f_m_ktown_01', 'a_f_m_soucent_01', 's_f_y_hooker_01',
'a_f_m_tramp_01', 'a_f_m_tourist_01', 'a_f_o_genstreet_01',
's_f_y_clubbar_01', 'u_f_y_danceburl_01', 'u_f_o_carol',
'g_f_y_ballas_01', 'g_f_y_vagos_01', 'g_m_importexport_01',
},
cooldown = 60,
enable = true,
minigameDuration = 30, -- seconds
pcbAmount = 3, -- solder amount
rewards = {
money = function()
return math.random(1000, 5000)
end,
items = {
{
itemName = "bread",
amount = 1
}
}
}
},
smash = {
allowedWeapons = {
[`WEAPON_HATCHET`] = true,
[`WEAPON_UNARMED`] = true,
},
maxHealth = 5000,
targetIcon = "fa-solid fa-hammer",
-- none | default | rm minigames --> | typingGame | timedLockpick | timedAction | quickTimeEvent | combinationLock | buttonMashing | angledLockpick | fingerPrint | hackerMinigame | safeCrack
minigame = "none",
cooldown = 60,
enable = true,
rewards = {
money = function()
return math.random(1000, 5000)
end,
items = {
{
itemName = "bread",
amount = 1
}
}
}
},
weld = { -- working with rm_tools
itemName = "WEAPON_WELD",
targetIcon = "fa-solid fa-screwdriver",
cooldown = 60,
speed = 0.05,
maxDistance = 1.5,
enable = true,
-- none | default | rm minigames --> | typingGame | timedLockpick | timedAction | quickTimeEvent | combinationLock | buttonMashing | angledLockpick | fingerPrint | hackerMinigame | safeCrack
minigame = "none",
rewards = {
money = function()
return math.random(1000, 5000)
end,
items = {
{
itemName = "bread",
amount = 1
}
}
}
},
freezeSpray = {
itemName = "freeze_spray",
removeItem = true,
targetIcon = "fa-solid fa-spray-can-sparkles",
-- none | default | rm minigames --> | typingGame | timedLockpick | timedAction | quickTimeEvent | combinationLock | buttonMashing | angledLockpick | fingerPrint | hackerMinigame | safeCrack
minigame = "none",
cooldown = 60,
enable = true,
rewards = {
money = function()
return math.random(1000, 5000)
end,
items = {
{
itemName = "bread",
amount = 1
}
}
}
},
thermite = {
itemName = "thermite_bomb",
removeItem = true,
targetIcon = "fa-solid fa-temperature-arrow-up",
-- none | default | rm minigames --> | typingGame | timedLockpick | timedAction | quickTimeEvent | combinationLock | buttonMashing | angledLockpick | fingerPrint | hackerMinigame | safeCrack
minigame = "none",
duration = 10,
cooldown = 60,
enable = true,
rewards = {
money = function()
return math.random(1000, 5000)
end,
items = {
{
itemName = "bread",
amount = 1
}
}
}
},
lockpick = { -- Example for custom approach
itemName = "lockpick",
removeItem = true,
targetIcon = "fa-solid fa-screwdriver-wrench",
-- none | default | rm minigames --> | typingGame | timedLockpick | timedAction | quickTimeEvent | combinationLock | buttonMashing | angledLockpick | fingerPrint | hackerMinigame | safeCrack
minigame = "none",
strength = 0.5,
difficulty = 0.5,
pins = 4,
cooldown = 60,
enable = true,
onSelect = function(atmObject, methodName, orderId) --> -- Example for custom approach
useLockpick(atmObject, methodName, orderId) --> client/custom_approaches.lua
end,
rewards = {
money = function()
return math.random(1000, 5000)
end,
items = {
{
itemName = "bread",
amount = 1
}
}
}
},
}
},
{
propModel = "prop_atm_01",
approachMethods = {
hack = {
itemName = "hack_phone",
removeItem = true,
targetIcon = "fa-solid fa-mobile-vibrate",
-- none | default | rm minigames --> | typingGame | timedLockpick | timedAction | quickTimeEvent | combinationLock | buttonMashing | angledLockpick | fingerPrint | hackerMinigame | safeCrack
minigame = "none",
solutionLength = 5, -- for default minigame
duration = 60, -- for default minigame
cooldown = 60,
enable = true,
rewards = {
money = function()
return math.random(1000, 5000)
end,
items = {
{
itemName = "bread",
amount = 1
}
}
}
},
thermalDrill = {
itemName = "thermal_drill",
removeItem = true,
targetIcon = "fa-solid fa-bore-hole",
-- none | default | rm minigames --> | typingGame | timedLockpick | timedAction | quickTimeEvent | combinationLock | buttonMashing | angledLockpick | fingerPrint | hackerMinigame | safeCrack
minigame = "none",
cooldown = 60,
enable = true,
discAmount = 3,
rewards = {
money = function()
return math.random(1000, 5000)
end,
items = {
{
itemName = "bread",
amount = 1
}
}
}
},
drill = {
itemName = "drill",
removeItem = true,
targetIcon = "fa-solid fa-bore-hole",
-- none | default | rm minigames --> | typingGame | timedLockpick | timedAction | quickTimeEvent | combinationLock | buttonMashing | angledLockpick | fingerPrint | hackerMinigame | safeCrack
minigame = "none",
cooldown = 60,
enable = true,
rewards = {
money = function()
return math.random(1000, 5000)
end,
items = {
{
itemName = "bread",
amount = 1
}
}
}
},
bomb = {
itemName = "small_bomb",
removeItem = true,
targetIcon = "fa-solid fa-bomb",
-- none | default | rm minigames --> | typingGame | timedLockpick | timedAction | quickTimeEvent | combinationLock | buttonMashing | angledLockpick | fingerPrint | hackerMinigame | safeCrack
minigame = "none",
duration = 1,
enable = true,
cooldown = 60,
rewards = {
money = function()
return math.random(1000, 5000)
end,
items = {
{
itemName = "bread",
amount = 1
}
}
}
},
emp = {
itemName = "emp_bomb",
removeItem = true,
targetIcon = "fa-solid fa-land-mine-on",
-- none | default | rm minigames --> | typingGame | timedLockpick | timedAction | quickTimeEvent | combinationLock | buttonMashing | angledLockpick | fingerPrint | hackerMinigame | safeCrack
minigame = "none",
cooldown = 60,
enable = true,
duration = 3,
rewards = {
money = function()
return math.random(1000, 5000)
end,
items = {
{
itemName = "bread",
amount = 1
}
}
}
},
smash = {
allowedWeapons = {
[`WEAPON_HATCHET`] = true,
[`WEAPON_UNARMED`] = true,
},
maxHealth = 100,
targetIcon = "fa-solid fa-hammer",
-- none | default | rm minigames --> | typingGame | timedLockpick | timedAction | quickTimeEvent | combinationLock | buttonMashing | angledLockpick | fingerPrint | hackerMinigame | safeCrack
minigame = "none",
cooldown = 60,
enable = true,
rewards = {
money = function()
return math.random(1000, 5000)
end,
items = {
{
itemName = "bread",
amount = 1
}
}
}
},
weld = { -- working with rm_tools
itemName = "WEAPON_WELD",
targetIcon = "fa-solid fa-screwdriver",
cooldown = 60,
speed = 0.05,
maxDistance = 1.5,
enable = true,
-- none | default | rm minigames --> | typingGame | timedLockpick | timedAction | quickTimeEvent | combinationLock | buttonMashing | angledLockpick | fingerPrint | hackerMinigame | safeCrack
minigame = "none",
rewards = {
money = function()
return math.random(1000, 5000)
end,
items = {
{
itemName = "bread",
amount = 1
}
}
}
},
freezeSpray = {
itemName = "freeze_spray",
removeItem = true,
targetIcon = "fa-solid fa-spray-can-sparkles",
-- none | default | rm minigames --> | typingGame | timedLockpick | timedAction | quickTimeEvent | combinationLock | buttonMashing | angledLockpick | fingerPrint | hackerMinigame | safeCrack
minigame = "none",
cooldown = 60,
enable = true,
rewards = {
money = function()
return math.random(1000, 5000)
end,
items = {
{
itemName = "bread",
amount = 1
}
}
}
},
thermite = {
itemName = "thermite_bomb",
removeItem = true,
targetIcon = "fa-solid fa-temperature-arrow-up",
-- none | default | rm minigames --> | typingGame | timedLockpick | timedAction | quickTimeEvent | combinationLock | buttonMashing | angledLockpick | fingerPrint | hackerMinigame | safeCrack
minigame = "none",
duration = 10,
cooldown = 60,
enable = true,
rewards = {
money = function()
return math.random(1000, 5000)
end,
items = {
{
itemName = "bread",
amount = 1
}
}
}
},
lockpick = { -- Example for custom approach
itemName = "lockpick",
removeItem = true,
targetIcon = "fa-solid fa-screwdriver-wrench",
-- none | default | rm minigames --> | typingGame | timedLockpick | timedAction | quickTimeEvent | combinationLock | buttonMashing | angledLockpick | fingerPrint | hackerMinigame | safeCrack
minigame = "none",
strength = 0.5,
difficulty = 0.5,
pins = 4,
cooldown = 60,
enable = true,
onSelect = function(atmObject, methodName, orderId) --> -- Example for custom approach
useLockpick(atmObject, methodName, orderId) --> client/custom_approaches.lua
end,
rewards = {
money = function()
return math.random(1000, 5000)
end,
items = {
{
itemName = "bread",
amount = 1
}
}
}
},
}
},
},
crackOptions = { -- Options to get money from ATM after pulling ATM with rope
jackHammer = {
itemName = "jack_hammer",
removeItem = true,
targetIcon = "fa-solid fa-bore-hole",
-- none | default | rm minigames --> | typingGame | timedLockpick | timedAction | quickTimeEvent | combinationLock | buttonMashing | angledLockpick | fingerPrint | hackerMinigame | safeCrack
minigame = "none",
enable = true,
rewards = {
money = function()
return math.random(1000, 5000)
end,
items = {
{
itemName = "bread",
amount = 1
}
}
}
},
screwdriver = {
itemName = "screwdriver",
removeItem = true,
targetIcon = "fa-solid fa-screwdriver-wrench",
-- none | default | rm minigames --> | typingGame | timedLockpick | timedAction | quickTimeEvent | combinationLock | buttonMashing | angledLockpick | fingerPrint | hackerMinigame | safeCrack
minigame = "none",
enable = true,
onSelect = function(atmObject, methodName, orderId) --> -- Example for custom approach
useScrewdriver(atmObject, methodName, orderId) --> client/custom_approaches.lua
end,
rewards = {
money = function()
return math.random(1000, 5000)
end,
items = {
{
itemName = "bread",
amount = 1
}
}
}
},
}
}
Strings = {
["need_police"] = "Not enough police in the city.",
["atm_cooldown"] = "This ATM is currently secured and cannot be robbed.",
["device_ready"] = "Device has been placed. Move away a little and wait for the customer to arrive.",
["need_item"] = "You require %s to perform this action.",
["attach_vehicle_action"] = "[E] - Attach",
["break_vehicle_action"] = "[E] - Break",
["searching_containers_action"] = "[E] - Search Containers",
["rob_atm_action"] = "Rob the ATM",
["crack_atm_action"] = "Crack the ATM",
["action_rope"] = "Attach Rope",
["action_hack"] = "Hack ATM",
["action_drill"] = "Use Drill",
["action_thermalDrill"] = "Use Thermal Drill",
["action_bomb"] = "Plant Bomb",
["action_emp"] = "Plant EMP Bomb",
["action_cardCloning"] = "Setup Cloning Device",
["action_smash"] = "Smash ATM",
["action_weld"] = "Use Weld",
["action_freezeSpray"] = "Use Freeze Spray",
["action_lockpick"] = "Use Lockpick",
["action_thermite"] = "Plant Thermite Bomb",
["action_jackHammer"] = "Use Jack Hammer",
["action_screwdriver"] = "Use Screwdriver",
-- progressbar labels --
["rope_attaching"] = "Attaching Rope",
["using_jackhammer"] = "Using Jack Hammer",
["using_screwdriver"] = "Using Screwdriver",
["detonating_bomb"] = "Detonating Bomb",
["atm_health"] = "ATM Health",
["setting_up_device"] = "Setting Up Cloning Device",
["searching_containers"] = "Searching Containers",
["add_money_log"] = "Player: %s\nIdentifier: %s\nAmount: %s",
["add_item_log"] = "Player: %s\nIdentifier: %s\nItem: %s\nAmount: %s",
}
Last updated