Configuration
Config = {}
Config.Framework = "auto" -- auto, qb, esx, qbx
-- Language setting
--[[
English: en
Turkish: tr
You can add your own language by going to locales/locales.lua and adding a new language.
]]--
Config.DefaultLanguage = "en" -- Available options: "en", "tr"
Config.HudSettingsCommand = "hud"
Config.VoiceType = "pma-voice" -- saltychat, pma-voice, tokovoip
Config.VehicleMiliage = true
Config.FocusNuiClose = true
Config.DefaultSettings = {
showPlayerInfo = true, -- Player information (top right corner)
showStatusBars = true, -- Status bars (bottom right corner)
showVehicleHUD = true, -- Vehicle HUD (bottom section)
showCompass = true, -- Compass (top center)
showVoiceIndicator = true, -- Voice level indicator
cinematicMode = false, -- Cinematic mode (black bars)
healthBarColor = "#ff3860", -- Health bar color
armorBarColor = "#3273dc", -- Armor bar color
foodBarColor = "#ff9f43", -- Food bar color
waterBarColor = "#3498db", -- Water bar color
staminaBarColor = "#1abc9c", -- Stamina bar color
oxygenBarColor = "#00bbff", -- Oxygen bar color
healthCriticalValue = 20, -- Health critical level
armorCriticalValue = 20, -- Armor critical level
foodCriticalValue = 15, -- Food critical level
waterCriticalValue = 15, -- Water critical level
speedometerType = "kmh", -- "kmh" or "mph"
fuelBarColor = "#2ecc71", -- Fuel bar color
speedBarColor = "#3273dc", -- Speed gauge color
rpmBarColor = "#ff3860", -- RPM gauge color
engineBarColor = "#2ecc71", -- Engine gauge color
glowEffects = true, -- Glow effects
animationEffects = true, -- Animation effects
statusHudPosition = "left", -- Status bars position: "left", "right", "center"
vehicleHudPosition = "right", -- Vehicle HUD position: "left", "right", "center"
uiScale = 1.0, -- HUD general size (between 0.5-1.5)
notificationType = "default", -- Notification type: "default", "modern"
showServerLogo = true, -- Server logo display
showRealTime = true, -- Real time display
showGameTime = true, -- Game time display
showMoney = true, -- Money display
showJob = true, -- Job display
showPlayerName = true, -- Name-Surname display
showTopInfo = true, -- Top info panel display
}
Config.Notification = function(message, type)
if GetResourceState("qb-core") == "started" then
TriggerEvent("QBCore:Notify", message, type)
elseif GetResourceState("es_extended") == "started" then
TriggerEvent("esx:showNotification", message)
end
end
Last updated