Use old native as new one broke drawing 3d text

This commit is contained in:
ElPumpo
2018-12-23 17:46:55 +01:00
parent b63c147fc0
commit 201b5f9ff2
2 changed files with 5 additions and 8 deletions
+1 -1
View File
@@ -966,7 +966,7 @@ ESX.Game.SetVehicleProperties = function(vehicle, props)
end
ESX.Game.Utils.DrawText3D = function(coords, text, size)
local onScreen, x, y = GetScreenCoordFromWorldCoord(coords.x, coords.y, coords.z)
local onScreen, x, y = World3dToScreen2d(coords.x, coords.y, coords.z)
local camCoords = GetGameplayCamCoords()
local dist = GetDistanceBetweenCoords(camCoords, coords.x, coords.y, coords.z, true)
local size = size