Close all esx menus upon death

This commit is contained in:
ElPumpo
2019-03-09 15:41:54 +01:00
parent 0bd3eff7ce
commit c116378a6b
2 changed files with 9 additions and 11 deletions
+4 -5
View File
@@ -36,11 +36,10 @@ function OpenMobileAmbulanceActionsMenu()
ESX.UI.Menu.CloseAll()
ESX.UI.Menu.Open('default', GetCurrentResourceName(), 'mobile_ambulance_actions',
{
title = _U('ambulance'),
align = 'top-left',
elements = {
ESX.UI.Menu.Open('default', GetCurrentResourceName(), 'mobile_ambulance_actions', {
title = _U('ambulance'),
align = 'top-left',
elements = {
{label = _U('ems_menu'), value = 'citizen_interaction'}
}
}, function(data, menu)