feat(esx_taxijob): Reasons For account changes

This commit is contained in:
Mycroft
2022-09-10 00:59:29 +01:00
parent 9de2cb4b40
commit e32c866902
+2 -2
View File
@@ -30,12 +30,12 @@ AddEventHandler('esx_taxijob:success', function()
local playerMoney = ESX.Math.Round(total / 100 * 30)
local societyMoney = ESX.Math.Round(total / 100 * 70)
xPlayer.addMoney(playerMoney)
xPlayer.addMoney(playerMoney, "Taxi Fair")
account.addMoney(societyMoney)
xPlayer.showNotification(_U('comp_earned', societyMoney, playerMoney))
else
xPlayer.addMoney(total)
xPlayer.addMoney(total, "Taxi Fair")
xPlayer.showNotification(_U('have_earned', total))
end
end)