mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-31 10:18:54 +00:00
Merge pull request #66 from lfuelling/patch-1
hide "press e to modify" hint when in the menu
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user