mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-30 17:58:54 +00:00
Close menus when exiting markers
This commit is contained in:
@@ -571,6 +571,7 @@ AddEventHandler('esx_ambulancejob:hasEnteredMarker', function(zone)
|
||||
end)
|
||||
|
||||
AddEventHandler('esx_ambulancejob:hasExitedMarker', function(zone)
|
||||
ESX.UI.Menu.CloseAll()
|
||||
CurrentAction = nil
|
||||
end)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user