DrawText

With these docs you can replace qb's DrawText ui with tgiann-core drawTexts

  1. Find local function hideText() function

  2. Replace the code block of the function with the following

local function hideText()
    exports["tgiann-core"]:DrawTextClose(GetInvokingResource().."drawtex")
end
  1. Find local function drawText(text, position) function

  2. Replace the code block of the function with the following

local function drawText(text, position)
    exports["tgiann-core"]:DrawTextOpen(GetInvokingResource().."drawtex", "E", text)
end
  1. Find local function changeText(text, position) function

  2. 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