mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-09-04 08:13:21 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user