mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-09-01 10:48:52 +00:00
Improvements to README, minor stuff
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user