hide "press e to modify" hint when in the menu

This commit is contained in:
Lerk
2019-07-20 14:44:55 +02:00
committed by GitHub
parent 85835090f5
commit b3d26ae02f
+1 -1
View File
@@ -390,7 +390,7 @@ Citizen.CreateThread(function()
local lastZone = nil
if (PlayerData.job ~= nil and PlayerData.job.name == 'mechanic') or Config.IsMechanicJobOnly == false then
for k,v in pairs(Config.Zones) do
if GetDistanceBetweenCoords(coords, v.Pos.x, v.Pos.y, v.Pos.z, true) < v.Size.x then
if GetDistanceBetweenCoords(coords, v.Pos.x, v.Pos.y, v.Pos.z, true) < v.Size.x and not lsMenuIsShowed then
isInLSMarker = true
ESX.ShowHelpNotification(v.Hint)
break