Documentation

Kairo TextUI

Troubleshooting

I still see the old text UI on ESX

Start kairo_textui before es_extended in server.cfg: ESX only checks for esx_textui once, when it starts.

On QBCore or Qbox a script still shows its own DrawText

qb-core DrawText isn’t replaced. Change the script so it uses the Kairo TextUI exports.

I also have the original text UI and they conflict

Set false for that resource in Config.Compat and remove its provide line from fxmanifest.lua.

I changed Config.Key but the key stays the same

FiveM saves the key per player the first time. It applies to new players; the others can rebind it in Settings → Key Bindings → FiveM.

The style requested by my script is ignored

The player picked a style and it takes priority. Set overrideScripts = false in Config.PlayerSettings if you want the script to win.

The /textui command doesn’t exist

Check that Config.PlayerSettings.enabled is true and that command isn’t false.

My prompt disappears when another one shows up

That’s expected: one prompt is visible at a time and the last Show wins.

I press the key on a replaced prompt and nothing happens

Replaced prompts only display the text: the original script reads the key, so the issue is in that script.