Improvements to README, minor stuff

This commit is contained in:
ElPumpo
2018-04-30 16:36:43 +02:00
parent d2daf7909f
commit e34490d58a
5 changed files with 51 additions and 17 deletions
@@ -29,20 +29,18 @@ function ShowJobListingMenu(data)
ESX.UI.Menu.CloseAll()
ESX.UI.Menu.Open(
'default', GetCurrentResourceName(), 'joblisting',
{
title = _U('job_center'),
elements = elements
},
function(data, menu)
TriggerServerEvent('esx_joblisting:setJob', data.current.value)
ESX.ShowNotification(_U('new_job'))
menu.close()
end,
function(data, menu)
menu.close()
end
)
'default', GetCurrentResourceName(), 'joblisting',
{
title = _U('job_center'),
align = 'top-left',
elements = elements
}, function(data, menu)
TriggerServerEvent('esx_joblisting:setJob', data.current.value)
ESX.ShowNotification(_U('new_job'))
menu.close()
end, function(data, menu)
menu.close()
end)
end)
end