What Is This System For?#
Many scripts use a function called DrawText3D to display text in the world, such as interaction prompts. Examples:
[E] Sit[E] Open Door[E] Talk to NPC
The problem is that the default DrawText3D system is old, heavy, and visually limited. Quasar Text UI replaces it with a modern system that is:
More optimized
Cleaner visually
Fully customizable
Easier to control
The replacement keeps the same function name, so your scripts continue working without rewriting them.
Add The Replacement Function
Add the following function to your client-side script.
This will override the old DrawText3D system and redirect it to Quasar Text UI.
lua local texts = {} function DrawText3D(x, y, z, text, id, key) local _id = id if not texts[_id] then CreateThread(function() texts[_id] = 5 while texts[_id] > 0 do texts[_id] = texts[_id] - 1 Wait(0) end texts[_id] = nil exports['qs-textui']:DeleteDrawText3D(id) end) TriggerEvent('textui:DrawText3D', x, y, z, text, id, key) end texts[_id] = 5 end



