[ESX - QB] Ice_hud + CarPlay

Description


Take your FiveM server to the next level with our feature-packed script! Our script offers a host of advanced features to keep players informed and engaged, including real-time notifications, custom player and vehicle HUDs, and seamless CarPlay integration. With these powerful tools at your disposal, you’ll be able to create an immersive and competitive gaming experience like never before. Upgrade your FiveM server and blow your competition out of the water with our powerful script today!

Features


  • Car Play

    • Music system
    • Map system
    • Car controls
    • Vehicle Stats
  • Status HUD

    • Auto hide
    • Health status
    • Hunger status
    • Thirst status
    • Lungs status
  • Car HUD

    • Fuel Level
    • Vehicle RPM
    • Vehicle health
    • Blinkers
    • Speed(mp/h, km/h)
    • Gears
    • Motion Animation
    • GPS system
    • Street system
  • Notifications

    • Request notifications
    • Help notifications
    • Show notifications
  • Server Logo

Config

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.MusicPlayer = true  -- If you set it to true, the Music of the Tablet will be show
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.AnyVehicle = "You are not in any vehicle"


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"

Config Color

Config.Colors = {
    // HELP BAR NOTIFICATION
    "helpBarBackground": "rgba(255,255,255,0.8)",
    "helpBarFontColor": "rgba(0,0,0,1)",
    "helpBarBoxShadow": "rgba(255,255,255,0.8)",
    // ICON HELP BAR NOTIFICATION
    "sms_svg": "rgba(0,0,0,1)",
    // REQUEST NOTIFICATION
    "requestTitleFontColor": "rgba(0,0,0,1)",
    "requestTextFontColor": "rgba(0,0,0,1)",
    "RequestNotyBackground": "rgba(255,255,255,1)",
    "RequestNotyBoxShadow": "rgba(255,255,255,0.99)",
    // BUTTON REQUEST NOTIFICATION
    "button_request_acceptBackground": "rgba(232,232,232,0.99)",
    "button_request_cancelBackground": "rgba(232,232,232,0.99)",
    "button_request_acceptBoxShadow": "rgba(197,197,197,.7)",
    "button_request_cancelBoxShadow": "rgba(197,197,197,.7)",
    // NOTIFICATIONS
    "notify_fontColor": "rgba(0,0,0,1)",
    "notify_background": "rgba(255,255,255,0.90)",
    "notify_boxShadow": "rgba(255,255,255,0.5)",
    // PROGRESS NOTIFICATIONS
    "notify_background_gradient": "rgba(255,255,255,0)",
    "notify_background_gradient_final": "rgba(255,255,255,1)",

    // STATUS HUD
    "status_healthBackground": "rgba(255,255,255,.1)",
    "status_bulletBackground": "rgba(255,255,255,.1)",
    "status_hungerBackground": "rgba(255,255,255,.1)",
    "status_waterBackground": "rgba(255,255,255,.1)",
    "status_lungsBackground": "rgba(255,255,255,.1)",
    // PROGRESS STATUS HUD
    "health-statusBackground": "rgba(255,255,255,.8)",
    "bulletproof-statusBackground": "rgba(255,255,255,.8)",
    "hunger-statusBackground": "rgba(255,255,255,.8)",
    "water-statusBackground": "rgba(255,255,255,.8)",
    "lungs-statusBackground": "rgba(255,255,255,.8)",
    // ICON STATUS HUD
    "health_f_svg": "rgba(0,0,0,.9)",
    "bulletproof_f_svg": "rgba(0,0,0,.9)",
    "hunger_f_svg": "rgba(0,0,0,.9)",
    "water_f_svg": "rgba(0,0,0,.8)",
    "lungs_f_svg": "rgba(0,0,0,.8)",

    "health_f_stroke": "rgba(255,255,255,.5)",
    "bulletproof_f_stroke": "rgba(255,255,255,.9)",
    "hunger_f_stroke": "rgba(255,255,255,.9)",
    "water_f_stroke": "rgba(255,255,255,.8)",
    "lungs_f_stroke": "rgba(255,255,255,.8)",

    // GPS HUD
    "containerstreetBackground": "rgba(255, 255, 255, 1)",
    "streetIcon_svg": "rgba(0, 0, 0, 1)",
    "streetname-csFontColor": "rgba(0, 0, 0, 1)",
    "destintationImage_svg": "rgba(0, 0, 0, 1)",
    "distanceGpsFontColor": "rgba(0, 0, 0, 1)",

    //Speedometer
    "ProgressColor": "rgba(255, 255, 255, 1)",
    "LimitProgress": "rgba(254,74,88, 1)",
    "HealthCar": "rgba(255, 255, 255, 1)",
    "FuelCar": "rgba(255, 255, 255, 1)",
}

Preview

LINK

PAID

BUY HERE - €30

BUY OPEN SOURCE - €80

Documentation

Code is accessible No
Subscription-based No
Lines (approximately) 9640
Requirements QBCore / ESX
Support Yes
------------------------------------- ----------------------------
6 Likes

wow!! amazing work… The best hud!!!

2 Likes

thanks :heart:

2 Likes

Looks great! keep up the work guys

2 Likes

thanks you so much :heart:

1 Like

Wow truly amazing so clean and estetictly pleasing!

2 Likes

thanks a lot, very glad you like it :slight_smile:

1 Like

Hello it look amazing, but i have one question in how much ms run?

2 Likes

The performance of the HUD is about 0.03 ms, while that of the car ranges from 0.07 to 0.08 ms. However, in the car HUD configuration menu there is an option to adjust the refresh rate. The speedometer is the most resource consuming element as it needs to send the speed of the car every so often. This option is called “Config.RefreshSpeedoMeterTime” and can be set to values between 50 and 200ms. When playing music, it slightly increases the ms of the resource (only if you are near a car that is playing music). Note that these values are approximate and may vary.

1 Like

Can I make the seatbelt work only for cars, not for bikes and motorcycles?

2 Likes

nice job

2 Likes

yes, it is done, it only works on cars, to give more realism.

2 Likes

thank you I appreciate it very much!:heart:

1 Like

It works great and is super well optimised! WOW +rep :muscle:t6:

2 Likes