πŸ“ƒCONFIGURATION FILE

config = config or {}

-- ============================================
-- LANGUAGE SETTINGS
-- ============================================
config.Language = "en" -- "tr" for Turkish, "en" for English

-- ============================================
-- MAP SETTINGS
-- ============================================
config.mapStyle = "circle" -- "circle" for circular map, "square" for square map
config.mapAlwaysVisible = false -- true to always show map, false to show only in vehicles

-- ============================================
-- SERVER NAME SETTINGS
-- ============================================
config.serverName = {
    name = "JANIEL", -- First part of server name (displayed in HUD)
    secondName = "Dev.", -- Second part of server name (displayed in HUD)
    nameColor = "#ffffff", -- Color of first part (hex format: #ffffff)
    secondNameColor = "#fc6500ff" -- Color of second part (hex format: #fc6500ff)
}

-- ============================================
-- SPEED UNIT SETTINGS
-- ============================================
config.speedUnit = "kmh" -- "kmh" for kilometers per hour, "mph" for miles per hour

-- ============================================
-- CRUISE CONTROL SETTINGS
-- ============================================
config.enableCruiseControl = true -- true to enable cruise control, false to disable
config.cruiseKey = "y" -- Key binding for cruise control (see: https://docs.fivem.net/docs/game-references/input-mapper-parameter-ids/keyboard/)

-- ============================================
-- ENGINE STALL SETTINGS
-- ============================================
config.engineStalls = true -- true to enable engine stalling on crashes, false to disable
config.engineStallsMinSpeed = 30 -- Minimum speed (in game units) required for engine to stall on crash

-- ============================================
-- SEATBELT SETTINGS
-- ============================================
config.enableSeatBelt = true -- true to enable seatbelt system, false to disable
config.beltActiveDisableFKey = true -- true to disable "F" key when seatbelt is on, false to allow exiting vehicle
config.seatbeltKey = "k" -- Key binding for seatbelt toggle (see: https://docs.fivem.net/docs/game-references/input-mapper-parameter-ids/keyboard/)
config.noBeltEjectActive = false -- true to eject player from vehicle on crash when belt is off, false to disable
config.noBeltEjectMinSpeed = 50 -- Minimum speed required for ejection when belt is off
config.beltEjectActive = false -- true to eject player from vehicle on crash even with belt on, false to disable
config.beltEjectMinSpeed = 180 -- Minimum speed required for ejection even with belt on

-- ============================================
-- SOUND SETTINGS
-- ============================================
config.soundsName = {   
    belt = "belt", -- Sound name for seatbelt on (requires InteractSound_CL resource)
    unBelt = "unbelt" -- Sound name for seatbelt off (requires InteractSound_CL resource)
}

-- ============================================
-- COMMAND SETTINGS
-- ============================================
config.commands = {
    hud = "hud", -- Command to open HUD settings menu (/hud)
    cruisespeed = "cruisespeed", -- Command for cruise control
    hudreset = "hudreset" -- Command to reset/reload HUD
}

-- ============================================
-- HUD COLOR SETTINGS
-- ============================================
config.hudColors = {
    health = { icon = "#e74c3c", progress = "#e74c3c" }, -- Health bar colors (icon and progress bar)
    armor = { icon = "#5b8cc7", progress = "#5b8cc7" }, -- Armor bar colors (icon and progress bar)
    hunger = { icon = "#f77a2d", progress = "#f77a2d" }, -- Hunger bar colors (icon and progress bar)
    thirst = { icon = "#00dfbd", progress = "#00dfbd" }, -- Thirst bar colors (icon and progress bar)
    stamina = { icon = "#ffc9ea", progress = "#ffc9ea" }, -- Stamina bar colors (icon and progress bar)
    oxygen = { icon = "#00dfbd", progress = "#00dfbd" } -- Oxygen bar colors (icon and progress bar)
}

-- ============================================
-- HUD POSITION SETTINGS
-- ============================================
config.hudPositions = {
    streetname = { left = "1vw", bottom = "calc(1% + 260px)" }, -- Street name position (CSS format)
    microphone = { left = "19vw", bottom = "calc(1% + 200px)" }, -- Microphone indicator position (CSS format)
    hunger = { left = "19vw", bottom = "calc(1% + 160px)" }, -- Hunger bar position (CSS format)
    thirst = { left = "19vw", bottom = "calc(1% + 120px)" }, -- Thirst bar position (CSS format)
    stamina = { left = "19vw", bottom = "calc(1% + 80px)" }, -- Stamina bar position (CSS format)
    oxygen = { left = "19vw", bottom = "calc(1% + 40px)", visible = true }, -- Oxygen bar position (CSS format, visible = true/false)
    health = { left = "1%", bottom = "1%" }, -- Health bar position (CSS format)
    armor = { left = "15%", bottom = "1%", visible = true }, -- Armor bar position (CSS format, visible = true/false)
    serverLogo = { right = "1.3vw", top = "3vw", visible = true }, -- Server logo position (CSS format, visible = true/false)
    servername = { right = "1.3vw", top = "4.5vw", visible = true }, -- Server name position (CSS format, visible = true/false)
    day = { right = "1.3vw", top = "6vw", visible = true }, -- Day/date position (CSS format, visible = true/false)
    time = { right = "1.3vw", top = "7.5vw", visible = true }, -- Time position (CSS format, visible = true/false)
    playername = { right = "1.3vw", top = "9vw", visible = true }, -- Player name position (CSS format, visible = true/false)
    cash = { right = "1.3vw", top = "10.5vw", visible = true }, -- Cash display position (CSS format, visible = true/false)
    bank = { right = "1.3vw", top = "12vw", visible = true }, -- Bank balance position (CSS format, visible = true/false)
    weapon = { right = "1.3vw", top = "16.5vw", visible = true } -- Weapon info position (CSS format, visible = true/false)
}

Last updated