Installation

STEP 1 - START ORDER

In order for the resource to start correctly and not receive any errors, we must start the resources in the following order

server.cfg
ensure es_extended
...
ensure ice_hud

STEP 2 - SETUP CONFIG

In order for the script to function properly, you must change the Config.Framework(line 3) setting to your framework in this case it will be "esx". Feel free to make any other necessary changes as well.

File Location: ice_hud\src\config.lua

config.lua
Config = {}

Config.Framework = "" -- newqb, oldqb, esx

Config.StatusHud = true  -- If you set it to true, the hud will be activated
Config.CarHud = true     -- If you set it to true, the Car Hud will be activated
Config.Notify = true     -- If you set it to true, notifications will be activated
Config.CarPlayer = true  -- If you set it to true, the Car Player will be activated
Config.EngineHud = true  -- If you set it to true, the Engine Hud will be activated
Config.RefreshSpeedoMeterTime = 50 -- Time in ms to refresh the speedometer (50 = 0.05 seconds, 100 = 0.10 seconds) if you want to speedometer to refresh faster decress this value.
Config.SetZoomMinimap = 1 -- Set the minimap zoom (0 = normal, 1 = zoomed in)

-- Config for the Car Radio System Sound
Config.RefreshTimeSound = 0 -- How much ofter the player position is updated ?
Config.distanceBeforeUpdatingPos = 40 -- how much close player has to be to the sound before starting updating position ?

--[[ 
    IF BOTH OPTIONS ARE IN FALSE THE DEFAULT SYSTEM OF GTA WILL BE USED 
]]
Config.UseLegacy = true  -- If you use LegacyFuel set it to true, if you don't use it set it to false
Config.UseOxFuel = false -- If you use OxFuel set it to true, if you don't use it set it to false

Config.SeatBeltOn = "You have fastened your seat belt"
Config.SeatBeltOff = "You have unbuckled your seatbelt"
Config.notVehicleSeatBelt = "This vehicle does not have a seat belt"
Config.commandSeatBelt = "belt"
Config.cruiseOnText = "You turned on speed limiter"
Config.cruiseOffText = "You turned off speed limiter"
Config.cruiseControlOnText = "You turned on cruise control"
Config.cruiseControlOffText = "You turned off cruise control"
Config.cruiseControlnotinVehicleText = "You are not in any vehicle or you are not the driver"
Config.StreamerModeONMSG = "You have activated streamer mode for music."
Config.StreamerModeOFFMSG = "You have deactivated the streamer mode for music."
Config.SpeedUnit = true -- True is km/h -- False is mp/h
Config.notvehicleCarPlay = "This vehicle does not have carplay"
Config.SetNewWaypoint = "You have set a new waypoint"


Config.SeatBeltEjectSpeed = 20
Config.SeatBeltEjectAccel = 100.0
Config.TimeOutRequestMax = 10 -- Max seconds if user don't answer the request
Config.SetDistanceAudio = 7.5 -- Distance to hear the audio

------------ KEYS -------------

Config.SeatBeltKey = "X"
Config.IndicatorBothKey = "BACK"
Config.IndicatorRightKey = "RIGHT"
Config.IndicatorLeftKey = "LEFT"
Config.CruiseKey = "M"
Config.CruiseControlKey = "L"
Config.EngineButton = "J"
Config.CarPlayerKey = "Y"

STEP 3 - SETUP TRANSLATION

To make changes to certain translations, you can edit the translations.js file. This file contains all the necessary settings to modify the translations.

File Location: ice_hud\src\ui\js\config\translation.js

circle-exclamation

Last updated