From 82beeb8fcd9d2937aea5c68f1d2ecb6d46824f54 Mon Sep 17 00:00:00 2001 From: Mycroft Date: Sat, 10 Sep 2022 00:40:34 +0100 Subject: [PATCH] feat(esx_clotheshop): Reasons for account changes --- [esx_addons]/esx_clotheshop/server/main.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/[esx_addons]/esx_clotheshop/server/main.lua b/[esx_addons]/esx_clotheshop/server/main.lua index ee739197..fc2bca8a 100644 --- a/[esx_addons]/esx_clotheshop/server/main.lua +++ b/[esx_addons]/esx_clotheshop/server/main.lua @@ -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