feat(esx_clotheshop): Reasons for account changes

This commit is contained in:
Mycroft
2022-09-10 00:40:34 +01:00
parent 3bfa19a160
commit 82beeb8fcd
+1 -1
View File
@@ -23,7 +23,7 @@ ESX.RegisterServerCallback('esx_clotheshop:buyClothes', function(source, cb)
local xPlayer = ESX.GetPlayerFromId(source)
if xPlayer.getMoney() >= Config.Price then
xPlayer.removeMoney(Config.Price)
xPlayer.removeMoney(Config.Price, "Outfit Purchase")
TriggerClientEvent('esx:showNotification', source, _U('you_paid', Config.Price))
cb(true)
else