From b3d26ae02f4cd1bd371f1931d969ca0da26b5a05 Mon Sep 17 00:00:00 2001 From: Lerk Date: Sat, 20 Jul 2019 14:44:55 +0200 Subject: [PATCH] hide "press e to modify" hint when in the menu --- client/main.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/main.lua b/client/main.lua index eb7de0ce..2eed92c9 100644 --- a/client/main.lua +++ b/client/main.lua @@ -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