diff --git a/client/functions.lua b/client/functions.lua index 580f5fa1..c13ae23d 100644 --- a/client/functions.lua +++ b/client/functions.lua @@ -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 diff --git a/version.json b/version.json index 4b7d21a6..223aae62 100644 --- a/version.json +++ b/version.json @@ -1,5 +1,5 @@ { "version": "legacy", - "commit" : "1.2.0", - "changelog": "Preserve compatibility for getting hashes; store player ped and death in PlayerData; resolve typos and outdated prints" + "commit" : "1.3.0", + "changelog": "Multicharacter support; improved spawning and skin loading; minor fixes and optimisation" }