DrawText
With these docs you can replace qb's DrawText ui with tgiann-core drawTexts
Find local function hideText() function
Replace the code block of the function with the following
local function hideText()
exports["tgiann-core"]:DrawTextClose(GetInvokingResource().."drawtex")
end
Find local function drawText(text, position) function
Replace the code block of the function with the following
local function drawText(text, position)
exports["tgiann-core"]:DrawTextOpen(GetInvokingResource().."drawtex", "E", text)
end
Find local function changeText(text, position) function
Replace the code block of the function with the following
local function changeText(text, position)
exports["tgiann-core"]:DrawTextOpen(GetInvokingResource().."drawtex", "E", text)
end
Last updated