mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-29 09:18:53 +00:00
feat(esx_garage): Reasons for account changes
This commit is contained in:
@@ -129,7 +129,7 @@ AddEventHandler("esx_garage:payPound", function(amount)
|
||||
local xPlayer = ESX.GetPlayerFromId(source)
|
||||
|
||||
if xPlayer.getMoney() >= amount then
|
||||
xPlayer.removeMoney(amount)
|
||||
xPlayer.removeMoney(amount, "Impound Fee")
|
||||
xPlayer.showNotification(_U('pay_Impound_bill', amount))
|
||||
else
|
||||
xPlayer.showNotification(_U('missing_money'))
|
||||
|
||||
Reference in New Issue
Block a user