chore(legacy/version): Update commit version to 1.3.0

This commit is contained in:
Linden
2021-05-28 08:09:56 +10:00
parent bccca2b8e0
commit ebafc8bcb4
2 changed files with 4 additions and 3 deletions
+2 -1
View File
@@ -729,7 +729,8 @@ ESX.Game.Utils.DrawText3D = function(coords, text, size, font)
SetDrawOrigin(vector.xyz, 0)
DrawText(0.0, 0.0)
local scaleFactor = scale * fov
DrawRect(0.0, 0.01 * scaleFactor, (string.len(text) / 220) * scaleFactor, 0.02 * scaleFactor, 0, 0, 0, 75)
local length = string.len(string.gsub(text, "(~[rbgypcmuosh]~)", ""))
DrawRect(0.0, 0.0 + 0.0111 * scaleFactor, 0.027 + (length / 260) * scaleFactor, 0.03 * scaleFactor, 0, 0, 0, 75)
ClearDrawOrigin()
end