mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-09-04 16:23:21 +00:00
chore(legacy/version): Update commit version to 1.3.0
This commit is contained in:
@@ -729,7 +729,8 @@ ESX.Game.Utils.DrawText3D = function(coords, text, size, font)
|
|||||||
SetDrawOrigin(vector.xyz, 0)
|
SetDrawOrigin(vector.xyz, 0)
|
||||||
DrawText(0.0, 0.0)
|
DrawText(0.0, 0.0)
|
||||||
local scaleFactor = scale * fov
|
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()
|
ClearDrawOrigin()
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
+2
-2
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"version": "legacy",
|
"version": "legacy",
|
||||||
"commit" : "1.2.0",
|
"commit" : "1.3.0",
|
||||||
"changelog": "Preserve compatibility for getting hashes; store player ped and death in PlayerData; resolve typos and outdated prints"
|
"changelog": "Multicharacter support; improved spawning and skin loading; minor fixes and optimisation"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user