Close menus when exiting markers

This commit is contained in:
Jérémie N'gadi
2017-08-16 15:58:55 +02:00
parent 2ff5d6f680
commit d68812a929
+1
View File
@@ -365,6 +365,7 @@ AddEventHandler('esx_taxijob:hasEnteredMarker', function(zone)
end)
AddEventHandler('esx_taxijob:hasExitedMarker', function(zone)
ESX.UI.Menu.CloseAll()
CurrentAction = nil
end)