Merge pull request #66 from lfuelling/patch-1

hide "press e to modify" hint when in the menu
This commit is contained in:
Samuel
2019-09-18 18:45:09 +02:00
committed by GitHub
+1 -1
View File
@@ -381,7 +381,7 @@ Citizen.CreateThread(function()
if (PlayerData.job and PlayerData.job.name == 'mechanic') or not Config.IsMechanicJobOnly 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