Kairo TextUI
Replacing other text UIs
Scripts written for these text UIs show Kairo TextUI without being edited.
| Resource | What’s covered |
|---|---|
| esx_textui | TextUI, HideUI, plus ESX.TextUI and ESX.HideUI |
| okokTextUI | Open, Close |
| jg-textui | DrawText, HideText |
| cd_drawtextui | cd_drawtextui:ShowUI and cd_drawtextui:HideUI events |
If the original resource stays installed
Only enable the replacement for resources you don’t have. For the others set false in Config.Compat and remove the matching provide line from fxmanifest.lua.
config.lua
Config.Compat = {
esx_textui = true,
okokTextUI = false,
['jg-textui'] = true,
cd_drawtextui = true,
}ESX
Start kairo_textui before es_extended, otherwise ESX keeps using its own text UI.
QBCore and Qbox
Kairo TextUI works here too because it’s standalone, but it doesn’t replace qb-core DrawText: scripts using it keep showing their own. To use Kairo TextUI, call its exports in the scripts you want to change.
Replaced prompts only display the text: the key is still handled by the original script. Tap and hold work with the exports.
