EZ Scripts
DiscordTebex
  • 💡Welcome To EZ Scripts
  • FIVEM
    • 🍀EZ White Widow
      • Config File
      • Add more locations
      • Common Issues
    • 🟣EZ Lean Drug
      • Config File
      • Add more locations
    • ❄️EZ Coke & Crack Drug
      • Config File
      • Add more locations
    • 🔠EZ Plate Changer
      • Config File
    • 📑Ez Lib
      • Config File
    • 🛡️Ez Admin Authority
      • Config File
    • 🫳Ez Item Spawner
      • Config File
      • Permission Check
      • Add Item
      • Get Items
  • RedM
    • 💼EZ Society & Job Meny
      • Config File
      • Exports
      • Syn Society
    • 🌍EZ Fast Travel
      • Config File
    • 🛡️Ez Admin Authority
      • Config File
    • 🍖Ez Consumables
      • Config File
    • 📺Ez HUD
      • Config File
      • Exports and Events
    • 🚷EZ Combat Logging
      • Config File
    • 🗽EZ Life Style
      • Getting Life Style
      • Config File
    • ☢️EZ Radial Menu
      • Config File
    • 🫳Ez Item Spawner
      • Config File
      • Permission Check
      • Add Item
      • Get Items
Powered by GitBook
On this page

Was this helpful?

  1. RedM
  2. Ez HUD

Config File

A copy of the config file is here

PreviousEz HUDNextExports and Events

Last updated 4 months ago

Was this helpful?

📺
https://github.com/EZ-Scripts/ez_hud/blob/main/config.lua
Config = {}
Config.DevMode = false -- Enable DevMode adds commands

Config.SaveInterval = 10 -- Minutes (Recommended: 10)
Config.Watermark = true -- Enable Watermark
Config.hideWhenFull = true -- Hide the hunger and thirst bar when full
Config.UpdateInterval = { -- Update Temp, Food and Water
    Time = 1, -- Minutes every update (Recommended: 1)
    Effect = { -- Regular changes every update
        Thirst = -0.8, -- Decreases every update
        Hunger = -0.7, -- Decreases every update
        Stress = 0, -- Increases every update
    },
    Temperature = { -- Temperature Changes (Celcius)
        Min = -12, -- Minimum Temperature
        Max = 50, -- Maximum Temperature
        Effect = { -- Temperature Effects: How below or above the min/max temperature affects the player
            Thirst = -1.0, -- Thirst Decrease
            Stress = 2.0, -- Stress Increase
            Hunger = -0.5, -- Hunger Decrease
        },
        Clothing = { -- Clothes give extra protection against the temperature (Increases Temp)
            Hat = 0.7,
            Shirt = 1,
            Pants = 1,
            Boots = 0.7,
            Coat = 3,
            ClosedCoat = 5,
            Gloves = 0.7,
            Vest = 1,
            Poncho = 2,
        },
        Waist = { -- Waist size affects the temperature
            ["-10"] = -1.0, -- Skinny
            ["-9"] = -0.9,
            ["-8"] = -0.8,
            ["-7"] = -0.7,
            ["-6"] = -0.6,
            ["-5"] = -0.5,
            ["-4"] = -0.4,
            ["-3"] = -0.3,
            ["-2"] = -0.2,
            ["-1"] = -0.1,
            ["0"] = 0, -- Normal
            ["1"] = 0.1,
            ["2"] = 0.2,
            ["3"] = 0.3,
            ["4"] = 0.4,
            ["5"] = 0.5,
            ["6"] = 0.6,
            ["7"] = 0.7,
            ["8"] = 0.8,
            ["9"] = 0.9,
            ["10"] = 1.0, -- Fat
        },
    },
}

Config.Health = { -- Health Changes (Health is out of 100)
    Time = 5, -- Seconds every update (Recommended: 5)
    Effect = -8, -- Health Decrease every update if conditions are met below
    Hunger = { -- Food Health Changes
        Min = 0, -- Minimum Food Level
    },
    Thirst = { -- Water Health Changes
        Min = 0, -- Minimum Water Level
    },
    Temperature = { -- Temperature Health Changes
        Min = -12, -- Minimum Temperature
        Max = 50, -- Maximum Temperature
    },
}

Config.Stress = {
    Horse = { -- Horse Stress
        Enabled = true, -- Enable Horse Stress
        Interval = 1, -- Stress Increase Interval (Seconds)
        Speed = 20, -- Speed(MPH) of the horse when to increase stress. When it is greater or equal too..
        Chance = 40, -- Chance of stress increase (1-100)%
        Increase = 0.2, -- Stress Increase
    },
    WhitelistedJobs = { -- Jobs which do not take stress
        ["police"] = true,
        ["doctor"] = true
    },
    WhitelistedGroups = { -- Character groups which do not take stress
        ["example1"] = true,
    },
    Shooting = { -- Shooting Stress (Runs every 0-100ms REQUIRED TO DETECT)
        Enabled = true, -- Enable Shooting Stress
        Chance = 10, -- Chance of stress increase (1-100)%
        Increase = 0.4, -- Stress Increase
    },
    MinimumStress = 70, -- Minimum Stress Level For Screen Shaking/ Blacking out (Blackout only when stress is 100)
    Intensity = { -- Stress Intensity: Screen Shaking
        --{min = 50, max = 60,  intensity = 0.12},
        --{min = 60, max = 70,  intensity = 0.17},
        {min = 70, max = 80,  intensity = 0.18},
        {min = 80, max = 90,  intensity = 0.24},
        {min = 90, max = 100, intensity = 0.29}
    },
    EffectInterval = { -- Stress Effect Interval: How often the screen shakes
        --{min = 50, max = 60,  timeout = math.random(50000, 60000)},
        --{min = 60, max = 70,  timeout = math.random(40000, 50000)},
        {min = 70, max = 80,  timeout = math.random(30000, 40000)},
        {min = 80, max = 90,  timeout = math.random(20000, 30000)},
        {min = 90, max = 100, timeout = math.random(15000, 20000)}
    }
}

-- Metabolism is between -1000(skinny) to 1000(fat), 0 is normal and default for new character.
Config.Metabolism = {
    Time = 5, -- Check interval (Seconds)
    Running = -0.5, -- How much to increase (Decrease if negative) the metabolism when running
    notRunning = -0.2, -- How much to increase (Decrease if negative) the metabolism when not running
}

WaistTypes = {
    ["-10"] = {waist = -2045421226, body = -1241887289}, -- Skinny
    ["-9"] = {waist = -1745814259, body = -1241887289},
    ["-8"] = {waist = -325933489, body = -1241887289},
    ["-7"] = {waist = -1065791927, body = -1241887289},
    ["-6"] = {waist = -844699484, body = 61606861},
    ["-5"] = {waist = -1273449080, body = 61606861},
    ["-4"] = {waist = 927185840, body = 61606861},
    ["-3"] = {waist = 149872391, body = 61606861},
    ["-2"] = {waist = 399015098, body = -369348190},
    ["-1"] = {waist = -644349862, body = -369348190},
    ["0"] = {waist = 1745919061, body = -369348190}, -- Normal
    ["1"] = {waist = 1004225511, body = -369348190},
    ["2"] = {waist = 1278600348, body = -369348190},
    ["3"] = {waist = 502499352, body = -369348190},
    ["4"] = {waist = -2093198664, body = -369348190},
    ["5"] = {waist = -1837436619, body = -369348190},
    ["6"] = {waist = 1736416063, body = -20262001},
    ["7"] = {waist = 2040610690, body = -20262001},
    ["8"] = {waist = -1173634986, body = -20262001},
    ["9"] = {waist = -867801909, body = 32611963},
    ["10"] = {waist = 1960266524, body = 32611963}, -- Fat
}