feat(esx_accessories): Added Reason for removing money

This commit is contained in:
Mycroft
2022-09-09 22:25:04 +01:00
parent 254f1c29b8
commit bae3e4d4c1
+1 -1
View File
@@ -2,7 +2,7 @@ RegisterServerEvent('esx_accessories:pay')
AddEventHandler('esx_accessories:pay', function()
local xPlayer = ESX.GetPlayerFromId(source)
xPlayer.removeMoney(Config.Price)
xPlayer.removeMoney(Config.Price, "Accessory Purchase")
TriggerClientEvent('esx:showNotification', source, _U('you_paid', ESX.Math.GroupDigits(Config.Price)))
end)