Skip to content

Commit

Permalink
feat(esx_barbershop): Reason for removing money
Browse files Browse the repository at this point in the history
  • Loading branch information
Mycroft-Studios committed Sep 9, 2022
1 parent 159ec77 commit f96145a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion [esx_addons]/esx_barbershop/server/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit f96145a

Please sign in to comment.