βοΈ Settings (Config File)
βοΈ Settings (Configuration)
This file dictates your admin permissions, volume dampening mechanics (muffled sound engine), custom item names, and UI translations.
Exit = {}
Exit.Boomboxes = {
["boombox"] = { -- Modern JBL Carry (Left Hand)
label = "Modern JBL Speaker",
model = "qua_jblspeaker",
hologramOffset = { x = 0.0, y = 0.0, z = 0.52 },
scale = 0.9,
-- Carry Animation Details
animDict = "mp_common",
animName = "givetake1_a",
animFlag = 50,
bone = 57005, -- Left Hand
pos = { x = 0.32, y = 0.0, z = -0.05 },
rot = { x = 0.1, y = 270.0, z = 60.0 }
},
["boombox_retro"] = { -- Retro Boombox (Style 2 - Official Emote Placement)
label = "Classic Retro Boombox",
model = "prop_ghettoblast_02",
hologramOffset = { x = -0.75, y = 0.0, z = 0.45 },
scale = 1.0,
-- Combined with eyeglasses for the full 'chic' look
animDict = "molly@boombox1",
animName = "boombox1_clip",
animFlag = 49,
bone = 10706, -- Spine/Shoulder placement
pos = { x = -0.23, y = -0.07, z = 0.24 },
rot = { x = -179.72, y = 176.74, z = 23.01 },
extraProps = { -- User requested Sunglasses
{
model = "prop_cs_sol_glasses",
bone = 31086, -- Head
pos = { x = 0.044, y = 0.074, z = 0.0 },
rot = { x = -160.98, y = -88.73, z = -0.62 }
}
}
},
}
-- DO NOT TOUCH: This helps the script find the closest boombox from any of the models above
Exit.ModelList = {}
for k, v in pairs(Exit.Boomboxes) do Exit.ModelList[GetHashKey(v.model)] = k end
Exit.framework = "qb" -- esx or qb
Exit.Categories = {
[1] = {
name = "pop",
label = "Pop",
color = "green" -- theme color of the category
},
[2] = {
name = "hiphop",
label = "Hip-Hop",
color = "#29007a" -- theme color of the category
},
[3] = {
name = "rock",
label = "Rock",
color = "blue" -- theme color of the category
},
[4] = {
name = "kpop",
label = "K-Pop",
color = "orange" -- theme color of the category
},
[5] = {
name = "love",
label = "Love",
color = "red" -- theme color of the category
},
[6] = {
name = "metal",
label = "Metal",
color = "#059d9d" -- theme color of the category
},
}
-- ββββββββββββββββββββββββββββββββββββ
-- β ADMIN PANEL CONFIG β
-- ββββββββββββββββββββββββββββββββββββ
-- Groups that can access the admin boombox panel
Exit.AdminGroups = { "admin", "superadmin", "god" }
-- Command to open the admin panel
Exit.AdminCommand = "boomboxadmin"
-- CitizenIDs that can access the admin panel regardless of group
-- Example: { "HGD12345", "ABC67890" }
Exit.AdminCitizenIDs = {
"CRY55291",
}
Exit.Language = "en"
Exit.Locale = {
["en"] = { -- 323
drop = "Drop Boombox",
hold = "Pick Up Boombox",
open = "Open Menu",
delete = "Take Back Boombox",
model_error = "This boombox model could not be loaded!",
}
}
-- ββββββββββββββββββββββββββββββββββββ
-- β SOUND CONFIGURATION β
-- ββββββββββββββββββββββββββββββββββββ
Exit.SmartSound = true -- Enable interior and vehicle muffled effects
Exit.MuffleIntensity = 0.07 -- Volume multiplier when sound is outside/muffled (Lower = more boΔuk)
Exit.WindowOpenIntensity = 0.5 -- Volume multiplier when car windows are OPEN
Exit.TransitionSpeed = 0.02 -- How fast the sound transitions (Lower = slower transition)