Commands
Commands en keybinds van Z-hud.
Namen komen uit config.lua. Geen ACE — iedereen mag ze.
/hud
| Config | Config.ToggleCommand (default 'hud') |
| Actie | HUD aan/uit (exports.setVisible) |
Radar volgt: uit als de HUD niet mag tonen.
/hudsettings
| Config | Config.SettingsCommand |
| Actie | NUI-focus, schaal + toggles |
Toggles: health, armor, hunger, thirst, stamina, oxygen, stress, voice, compass, street, time, money, vehicle.
Opslaan = KVP, blijft na relog. Config.AllowPlayerSettings = false schakelt dit uit.
/cinematic
| Config | Config.CinematicCommand |
| Actie | Zwarte balken, HUD + radar weg |
Opnieuw typen = terug.
Keybinds
FiveM → Instellingen → Keybinds:
| Mapping | Default | Config |
|---|---|---|
| Z-hud gordel | B | Config.Vehicle.seatbeltKey |
| Z-hud cruise control | Y | Config.Vehicle.cruiseKey |
Intern: commands z_hud_seatbelt en z_hud_cruise. Cruise alleen als bestuurder en hard genoeg.
Hernoemen van chat-commands:
Config.ToggleCommand = 'togglehud'
Config.SettingsCommand = 'hudopties'