- Hud includes: seatbelt, speedometer, turn signals, lights, fuel, gearbox.
- Seatbelt System.
- Blackout system when you exceed a certain speed.
- Increases stress if the player is driving without a belt.
- Enable/disable hud by command.
Config.lua
Config = {}
--ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
--ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
--ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
--ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
--ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
--ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Config.vehicle = {
speedUnit = 'KMH', -- KMH or MPH
maxSpeed = 350,
seatbelt = {
playBuckleSound = true,
playUnbuckleSound = true,
playUnsafeSound = true
},
keys = {
seatbelt = 29,
cruiser = 137,
signalLeft = 174,
signalRight = 175,
signalBoth = 173,
}
}
-- Blackout is applied when it exceeds the maxSpeed ββset above
Config.BlackoutTime = 2000 -- 2000 = 2 seconds
--βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
--βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
--βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
--βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
--βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
--βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
---------------------------------------------------------------------------]]--
Config.Notification = function(title, message, time, types, svside, id)
if svside then
TriggerClientEvent("esx:showNotification", source, message) -- ESX.
--TriggerClientEvent('QBCore:Notify', source, message, type, length) -- QBCore.
else -- Current script only use notifications by client-side
TriggerEvent("esx:showNotification", message) -- ESX.
--TriggerEvent('QBCore:Notify', message, type, length) -- QBCore.
end
end
Config.Locales = {
['warn_seatbelt'] = { title= "Seat Belt", text = "Buckle up! (B key)", type = "info" },
}
Download Resource
Others Resources
[VRP/ESX/QB] Zombies V2
[VRP/ESX/QB] Report System
[ESX/QB] Money Wash
[ESX/QB] Craft
[ESX/QB] Tuning System
[ESX/QB] Zombies V1
[ESX/QB] Airdrop
[ESX/QB] ATM Robbery
[ESX/QB] Pause (ESC) Menu
[ESX/QB] Car HUD
[ESX/QB] Safezone
[ESX] Scoreboard
[ESX] Identity
Code is accessible | No |
Subscription-based | No |
Lines (approximately) | 670 |
Requirements | interact-sound (optional) |
Support | Yes |