Merge pull request #1163 from SMVampire/patch-3

fix(3DText): Force Scale Float
This commit is contained in:
ESXCrackhead
2021-05-17 14:38:46 -05:00
committed by GitHub
+1
View File
@@ -699,6 +699,7 @@ end
ESX.Game.Utils.DrawText3D = function(coords, text, scale, font)
local vector = type(coords) == "vector3" and coords or vec(coords.x, coords.y, coords.z)
if scale then scale = scale + 0.0 end
if not scale then scale = 0.35 end
if not font then font = 4 end