diff --git a/[esx_addons]/esx_society/server/main.lua b/[esx_addons]/esx_society/server/main.lua index 3333099a..1dac3224 100644 --- a/[esx_addons]/esx_society/server/main.lua +++ b/[esx_addons]/esx_society/server/main.lua @@ -284,10 +284,13 @@ ESX.RegisterServerCallback('esx_society:setJob', function(source, cb, identifier if type == 'hire' then xTarget.showNotification(_U('you_have_been_hired', job)) + xPlayer.showNotification(_U("you_have_hired", xTarget.getName())) elseif type == 'promote' then - xTarget.showNotification(_U('you_have_been_promoted')) + xTarget.showNotification(_U('you_have_promoted')) + xPlayer.showNotification(_U("you_successfully_promoted", xTarget.getName())) elseif type == 'fire' then xTarget.showNotification(_U('you_have_been_fired', xTarget.getJob().label)) + xPlayer.showNotification(_U("you_have_fired", xTarget.getName())) end cb() @@ -303,6 +306,7 @@ ESX.RegisterServerCallback('esx_society:setJob', function(source, cb, identifier end end) + ESX.RegisterServerCallback('esx_society:setJobSalary', function(source, cb, job, grade, salary) local xPlayer = ESX.GetPlayerFromId(source)