This commit is contained in:
Kakarot
2023-04-27 17:34:51 -05:00
parent b6249c3783
commit 78bde5070a
-5
View File
@@ -21,13 +21,8 @@ end
function QBCore.Functions.DrawText(x, y, width, height, scale, r, g, b, a, text)
-- Use local function instead
SetTextFont(4)
SetTextProportional(0)
SetTextScale(scale, scale)
SetTextColour(r, g, b, a)
SetTextDropShadow(0, 0, 0, 0, 255)
SetTextEdge(2, 0, 0, 0, 255)
SetTextDropShadow()
SetTextOutline()
SetTextEntry('STRING')
AddTextComponentString(text)
DrawText(x - width / 2, y - height / 2 + 0.005)