mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-29 08:01:24 +00:00
feat(esx_barbershop): Reason for removing money
This commit is contained in:
@@ -3,7 +3,7 @@ AddEventHandler('esx_barbershop:pay', function()
|
||||
local source = source
|
||||
local xPlayer = ESX.GetPlayerFromId(source)
|
||||
|
||||
xPlayer.removeMoney(Config.Price)
|
||||
xPlayer.removeMoney(Config.Price, "Haircut")
|
||||
TriggerClientEvent('esx:showNotification', source, _U('you_paid', ESX.Math.GroupDigits(Config.Price)))
|
||||
end)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user