Configuration
config.lua
| Key | Default | What it does |
|---|---|---|
Config.Debug | false | verbose logs and the two diagnostic commands. Off in production |
Config.TargetInteraction | cursor | cursor or scroll, see Usage |
Config.TextColour | white | the five text colours, { r, g, b } each. The Designer overrides them |
Convars
Everything else is a convar, in the same style as ox_target:
| Convar | Default | What it does |
|---|---|---|
HZ-TextUi:defaultHotkey | LMENU | the key that shows interactions |
HZ-TextUi:toggleHotkey | 0 | 1 makes it a toggle instead of a hold |
HZ-TextUi:leftClick | 24 | the control that selects the highlighted option |
HZ-TextUi:aimRadius | 0.035 | how far from the crosshair a pin still counts as aimed at |
HZ-TextUi:reticle | 1 | 0 hides the aim reticle |
HZ-TextUi:reticleColor | #ffffff | reticle colour |
HZ-TextUi:reticleSize | 30 | reticle size |
HZ-TextUi:reticleAlpha | 205 | reticle opacity, 0 to 255 |
HZ-TextUi:menuBackLabel | < Back | the row that leaves a submenu |
HZ-TextUi:provide | true | false stops answering ox_target / qtarget / qb-target |
setr HZ-TextUi:reticle 0
Migrating from ox_target? The key and mode convars fall back to the
ox_target:* names, so your existing lines keep working.