# 5E-HUD \[v1]

## Installation

After you buy our **HUD script** download it from your keymaster and put it inside your resources folder.

{% hint style="info" %}
After uploading the script to your server you have to restart the server to make the script work.
{% endhint %}

## Configure

Open `config.lua` Configure the hud as you want. Pay attention to the fact that in the client folder, there is a file of `utils.lua` that can be edited as well.

<pre class="language-lua"><code class="lang-lua"><strong>Config = {}
</strong>
Config.disableHudComponents = {
    disable = true , -- Set to false to enable the hud components
    componenetsList = {1, 2, 3, 4}, -- Hud Components: https://docs.fivem.net/natives/?_0x6806C51AD12B83B8
    disableDefaultAmmo = true, -- Set to false to enable the default ammo hud
}
Config.Debug = false -- Set to true to enable the debug messages
Config.SettingsKey = { type = 'keyboard', key = 'i'} -- The key to open the settings menu
Config.FuelSystem = "LegacyFuel" -- Set to your fuel system or set it using the utils.lua
Config.KillsStats = true -- Set to false to disable the kills/deaths/killstreak stats
Config.KillsStatsSave = true -- Set to false to disable the kills/deaths/killstreak stats saving after player disconnect from the server
Config.DefaultColor = '#AED50B' -- The default theme color

Config.Colors = { -- Here you can add more colors to the theme color picker
    { name = 'Green', value = '#AED50B' },
    { name = 'Red', value = '#FF5757' },
    { name = 'Blue', value = '#1E90FF' },
    { name = 'Purple', value = '#BA55D3' },
    { name = 'Orange', value = '#FF9900' },
    { name = 'Turquoise', value = '#40E0D0' },
    { name = 'Pink', value = '#FF69B4' },
    { name = 'Yellow', value = '#FFD700' },
    { name = 'Lime', value = '#32CD32' },
    { name = 'Teal', value = '#008080' },
    { name = 'Magenta', value = '#FF00FF' },
    { name = 'Crimson', value = '#DC143C' },
    { name = 'Indigo', value = '#4B0082' },
    { name = 'Cyan', value = '#00FFFF' },
    { name = 'Brown', value = '#A52A2A' },
    { name = 'Coral', value = '#FF7F50' },
}

Config.WeaponsTypeGroup = { -- Here you can add or change the images of the weapons type groups
    ['2685387236'] = 'GROUP_UNARMED.png',
    ['3566412244'] = 'GROUP_MELEE.png',
    ['416676503'] = 'GROUP_PISTOL.png',
    ['3337201093'] = 'GROUP_SUBMACHINEGUN.png',
    ['860033945'] = 'GROUP_SHOTGUN.png',
    ['970310034'] = 'GROUP_RIFLE.png',
    ['1159398588'] = 'GROUP_MG.png',
    ['3082541095'] = 'GROUP_SNIPER.png',
    ['2725924767'] = 'GROUP_HEAVY.png',
    ['1548507267'] = 'GROUP_THROWN.png',
    ['4257178988'] = 'GROUP_PETROLCAN.png',
    ['-957766203'] = 'GROUP_SMG.png',
    ['-1212426201'] = 'GROUP_SNIPER.png',
    ['-1569042529'] = 'GROUP_HEAVY.png'
}
</code></pre>

If you need more support about the script you can open a ticket in the discord server and our team will help you.
