config.lua
Main script configuration. (Information could be outdated)
return {
debug = false, -- https://andrew-grenade.gitbook.io/sheen-scripts/paid-resources/sh-heists/features#developer-debug-modes
dev_mode = false, -- https://andrew-grenade.gitbook.io/sheen-scripts/paid-resources/sh-heists/features#developer-debug-modes
lang = 'en', -- 'en'
notify = 'ox', -- 'ox', 'default', 'qb' (QBCore), 'esx' (ESX Legacy), 'nd' (ND_Core),
doorlock = 'auto', -- 'auto' (auto detection), 'ox', 'qb', 'jaksam'
old_ox_doorlock = false, -- only for people that still using old ox_doorlock that is still supporting frameworks
enable_logs = false, -- true/false, if true then edit webhooks.lua
disable_target = false, -- true/false, for those who using target systems but don't want to use it with this script
custom_dispatch = false, -- code is located at bridge/client/utils.lua
custom_loot = false, -- code is located at bridge/server/utils.lua
-- ace perms for commands
admin_groups = {
'group.admin',
'group.god'
},
commands = { 'resetheist', 'cleanheist' },
police_jobs = { -- only for framework users (qb, esx, nd), unless you implemented your own code to bridge files
police = true,
sheriff = true,
-- add more here
},
menus = {
--[[
if command or key is enabled, it allows you to open the menu anytime
if position is set, it will allow you to open the menu only from that location
]]
briefing = { -- menu that will display all briefings for heists
command = 'briefing', -- or false
key = false, -- ex. 'K', other input parameters https://docs.fivem.net/docs/game-references/input-mapper-parameter-ids/keyboard/
position = false, -- or vec3(0.0, 0.0, 0.0) -- x y z
},
gas = { -- menu that will display all active gas locations
command = 'gasmenu', -- or false
key = false, -- ex. 'K', other input parameters https://docs.fivem.net/docs/game-references/input-mapper-parameter-ids/keyboard/
position = false, -- or vec3(0.0, 0.0, 0.0) -- x y z
only_police_jobs = true,
},
},
items = {
gas_mask = {
item = false, -- 'name_of_item' or false to disable
command = 'gmask', -- 'name' or false to disable
onUse = function()
local model = GetEntityModel(cache.ped)
if model == `mp_m_freemode_01` then -- male
exports['sh-heists']:GAS_MASK(52, 10) -- clothingId, colorId
else -- female
exports['sh-heists']:GAS_MASK(71, 0) -- clothingId, colorId
end
end
},
heist_bag = {
item = false, -- 'name_of_item' or false to disable
command = 'hbag', -- 'name' or false to disable
onUse = function()
exports['sh-heists']:HEIST_BAG(82, 0) -- clothingId, colorId
end
},
},
weapons = {
-- [hash] = category type --
-- categories:
-- 'melee', 'handgun', 'rifle', 'smg',
-- 'lmg', 'shotgun', 'sniper', 'heavy',
-- 'throwable', 'other'
-- 'melee'
[`weapon_knife`] = 'melee',
[`weapon_dagger`] = 'melee',
[`weapon_bat`] = 'melee',
[`weapon_bottle`] = 'melee',
[`weapon_crowbar`] = 'melee',
[`weapon_flashlight`] = 'melee',
[`weapon_hammer`] = 'melee',
[`weapon_hatchet`] = 'melee',
[`weapon_machete`] = 'melee',
[`weapon_switchblade`] = 'melee',
[`weapon_nightstick`] = 'melee',
[`weapon_wrench`] = 'melee',
[`weapon_poolcue`] = 'melee',
[`weapon_battleaxe`] = 'melee',
-- 'handgun'
[`weapon_pistol`] = 'handgun',
[`weapon_combatpistol`] = 'handgun',
[`weapon_appistol`] = 'handgun',
[`weapon_pistol50`] = 'handgun',
[`weapon_snspistol`] = 'handgun',
[`weapon_heavypistol`] = 'handgun',
-- 'rifle'
[`weapon_assaultrifle`] = 'rifle',
[`weapon_assaultrifle_mk2`] = 'rifle',
[`weapon_carbinerifle`] = 'rifle',
[`weapon_carbinerifle_mk2`] = 'rifle',
[`weapon_advancedrifle`] = 'rifle',
[`weapon_specialcarbine`] = 'rifle',
[`weapon_specialcarbine_mk2`] = 'rifle',
[`weapon_bullpuprifle`] = 'rifle',
[`weapon_bullpuprifle_mk2`] = 'rifle',
[`weapon_compactrifle`] = 'rifle',
-- 'sniper'
[`weapon_sniperrifle`] = 'sniper',
[`weapon_heavysniper`] = 'sniper',
[`weapon_heavysniper_mk2`] = 'sniper',
[`weapon_marksmanrifle`] = 'sniper',
[`weapon_marksmanrifle_mk2`] = 'sniper',
-- 'heavy'
[`weapon_rpg`] = 'heavy',
[`weapon_grenadelauncher`] = 'heavy',
[`weapon_minigun`] = 'heavy',
[`weapon_hominglauncher`] = 'heavy',
-- 'smg'
[`weapon_smg`] = 'smg',
[`weapon_microsmg`] = 'smg',
[`weapon_assaultsmg`] = 'smg',
[`weapon_combatpdw`] = 'smg',
[`weapon_machinepistol`] = 'smg',
[`weapon_minismg`] = 'smg',
[`weapon_smg_mk2`] = 'smg',
-- 'lmg'
[`weapon_mg`] = 'lmg',
[`weapon_combatmg`] = 'lmg',
[`weapon_combatmg_mk2`] = 'lmg',
[`weapon_gusenberg`] = 'lmg',
-- 'shotgun'
[`weapon_pumpshotgun`] = 'shotgun',
[`weapon_pumpshotgun_mk2`] = 'shotgun',
[`weapon_sawnoffshotgun`] = 'shotgun',
[`weapon_assaultshotgun`] = 'shotgun',
[`weapon_bullpupshotgun`] = 'shotgun',
[`weapon_musket`] = 'shotgun',
[`weapon_heavyshotgun`] = 'shotgun',
[`weapon_dbshotgun`] = 'shotgun',
[`weapon_autoshotgun`] = 'shotgun',
[`weapon_combatshotgun`] = 'shotgun',
-- 'throwable'
[`weapon_grenade`] = 'throwable',
[`weapon_bzgas`] = 'throwable',
[`weapon_molotov`] = 'throwable',
[`weapon_stickybomb`] = 'throwable',
[`weapon_proxmine`] = 'throwable',
[`weapon_pipebomb`] = 'throwable',
[`weapon_flare`] = 'throwable',
[`weapon_smokegrenade`] = 'throwable',
-- 'other'
[`weapon_weird`] = 'other'
},
clothing = {
bags = {
male = {
[44] = true, [45] = true, -- 44, 45 color ids: 0
[81] = true, [82] = true -- 81, 82 color ids: 0, 3, 7, 8, 9, 10, 11, 13
},
female = {
[44] = true, [45] = true, -- 44, 45 color ids: 0
[81] = true, [82] = true -- 81, 82 color ids: 0, 3, 7, 8, 9, 10, 11, 13
}
},
no_gloves = {
male = {
[0] = true, [1] = true,
[2] = true, [3] = true,
[4] = true, [5] = true,
[6] = true, [7] = true,
[8] = true, [9] = true,
[10] = true, [11] = true,
[12] = true, [13] = true,
[14] = true, [15] = true,
[18] = true, [26] = true,
[52] = true, [53] = true,
[54] = true, [55] = true,
[56] = true, [57] = true,
[58] = true, [59] = true,
[60] = true, [61] = true,
[62] = true, [112] = true,
[113] = true, [114] = true,
[118] = true, [125] = true,
[132] = true
},
female = {
[0] = true, [1] = true,
[2] = true, [3] = true,
[4] = true, [5] = true,
[6] = true, [7] = true,
[8] = true, [9] = true,
[10] = true, [11] = true,
[12] = true, [13] = true,
[14] = true, [15] = true,
[19] = true, [59] = true,
[60] = true, [61] = true,
[62] = true, [63] = true,
[64] = true, [65] = true,
[66] = true, [67] = true,
[68] = true, [69] = true,
[70] = true, [71] = true,
[129] = true, [130] = true,
[131] = true, [135] = true,
[142] = true, [149] = true,
[153] = true, [157] = true,
[161] = true, [165] = true
}
}
}
}
Last updated