mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-09-04 08:13:21 +00:00
Merge pull request #1163 from SMVampire/patch-3
fix(3DText): Force Scale Float
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user