Fix Error esx_lcustom vector3 - type table

error when coords - v.Pos
type vector3 - table

it be should vector3 - vector3
This commit is contained in:
NRTnarathip
2022-02-16 14:55:13 +07:00
committed by GitHub
parent 707db9353e
commit e6f9d90478
+2 -1
View File
@@ -387,7 +387,8 @@ CreateThread(function()
if (ESX.PlayerData.job and ESX.PlayerData.job.name == 'mechanic') or not Config.IsMechanicJobOnly then
for k,v in pairs(Config.Zones) do
if #(coords - v.Pos) < v.Size.x and not lsMenuIsShowed then
local zonePos = vector3(v.Pos.x, v.Pos.y, v.Pos.z)
if #(coords - zonePos) < v.Size.x and not lsMenuIsShowed then
isInLSMarker = true
ESX.ShowHelpNotification(v.Hint)
break