Config
Config = {}
Config.DebugMode = false
Config.UpdateInterval = 700 -- Update frequency in milliseconds
Config.Features = {
PlayerStats = true, -- Health, armor, hunger, thirst, oxygen, stamina
VehicleHUD = true, -- Speed, fuel, damage, nitro, seatbelt
WeaponHUD = true, -- Current weapon and ammo with image
StatusBar = true, -- Location, time, player count, ping
PlayerInfo = true, -- Player name and job
Voice = true -- Voice chat indicator
}
Config.Stress = {
RunningIncrease = 0.1, -- Stress increase per second while running
ShootingIncrease = 0.1, -- Stress increase per shot fired
HighSpeedThreshold = 0.1, -- Speed (KMH) above which stress increases
HighSpeedIncrease = 0.2, -- Stress increase per second at high speed
DecayInterval = 30000, -- Time (ms) between stress decay updates
DecayAmount = 0.5, -- Amount stress decreases per decay interval
MovingRelief = 0.2 -- Stress relief per second while standing still or walking
}
Config.MinimapType = "square" -- Options: "square" or "circle"
Config.ShowMinimap = true -- Set to true to show the minimap, false to hide it
Config.SpeedUnit = "kmh" -- Options: "kmh" or "mph"
Config.DisableHudGta = false -- Set to true to disable the default GTA HUD
Config.ToggleSeatBelt = {
active = true,
key = 'B',
ejectSpeed = 100,
warning = false,
}
DebugPrint = function(message)
if Config.DebugMode then
print("[DEBUG] " .. message)
end
end
return Config
⚡Client/open-source/editable.lua
OpenSource = OpenSource or {}
OpenSource.GetFuel = OpenSource.GetFuel or function(vehicle)
-- Uncomment and adjust for your fuel script
-- return exports['LegacyFuel']:GetFuel(vehicle)
return GetVehicleFuelLevel(vehicle)
end
-- Seatbelt Check
OpenSource.IsSeatbeltOn = OpenSource.IsSeatbeltOn or function()
-- Add Your Seat Belt Check Logic Here or use inbuilt
exports.hsHUD:SeatbeltToggle()
return true
end
Last updated