Update commands.lua

This commit is contained in:
Thekuca
2023-05-25 13:02:06 +02:00
committed by GitHub
parent de0d33b2f6
commit e406a2b6c3
+1 -1
View File
@@ -159,7 +159,7 @@ ESX.RegisterCommand('removeaccountmoney', 'admin', function(xPlayer, args, showE
if not args.playerId.getAccount(args.account) then
return showError(TranslateCap('command_removeaccountmoney_invalid'))
end
args.playerId.removeaccountmoney(args.account, args.amount, "Government Tax")
args.playerId.removeAccountMoney(args.account, args.amount, "Government Tax")
if Config.AdminLogging then
ESX.DiscordLogFields("UserActions", "Remove Account Money /removeaccountmoney Triggered!", "pink", {
{name = "Player", value = xPlayer.name, inline = true},