Configuration
Every setting in Survival HUD's config.lua and the /hud command.
All settings are in SAG-survival-hud/config.lua. Restart SAG-survival-hud after you change one.
| Setting | What it does | Default |
|---|---|---|
Config.Framework | Your framework: qb, qbox or esx | "qb" |
Config.useTemp | Shows the temperature bar | true |
Config.useBlood | Shows the blood bar | true |
Config.useThickIcons | Uses thicker status icons, the ones left of the microphone | true |
Config.UseMPH | Shows speed in MPH. false shows KPH. | true |
Config.Fuel | Your fuel script: LegacyFuel, hrs, ox_fuel or custom. See Installation. | "LegacyFuel" |
Config.CustomFuel | Resource name of your fuel script when Config.Fuel is custom | "name-fuel" |
Config.MiniMap | 1 always shows the minimap, 2 only in a vehicle, 3 never | 1 |
Config.Lang.commandHelp | Help text for /hud in chat suggestions | "Toggle on & off hud" |
Config.GtaHudIssue | Hides GTA's own vehicle name, area name, vehicle class and street name text | true |
Note The temperature and blood bars only move when another script sets them with
setTempatureandsetBlood. Without one, both stay at their starting value of 80. Turn them off withConfig.useTempandConfig.useBloodif nothing feeds them.
Hunger, thirst and fuel are read in SAG-survival-hud/client/open.lua. You can edit that file if your framework or fuel script reports them differently.
The /hud command
Any player can type /hud to hide or show the HUD and minimap. The on and off state is shared by the whole server, so if /hud does nothing the first time, type it again.
