From 1b481797ebf1cd6d8951cdb92997f90a53311f86 Mon Sep 17 00:00:00 2001 From: Mycroft Date: Mon, 3 May 2021 22:43:27 +0100 Subject: [PATCH] Update commands.lua --- server/commands.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/server/commands.lua b/server/commands.lua index 14e2ca6c..17bd6aa9 100644 --- a/server/commands.lua +++ b/server/commands.lua @@ -52,7 +52,9 @@ ESX.RegisterCommand('giveaccountmoney', 'admin', function(xPlayer, args, showErr showError(_U('command_giveaccountmoney_invalid')) end end, true, {help = _U('command_giveaccountmoney'), validate = true, arguments = { - {name = 'weather', help = _U('command_giveaccountmoney_account'), type = 'string'}, + {name = 'playerId', help = _U('commandgeneric_playerid'), type = 'player'}, + {name = 'account', help = _U('command_giveaccountmoney_account'), type = 'string'}, + {name = 'amount', help = _U('command_giveaccountmoney_amount'), type = 'number'} }}) ESX.RegisterCommand('giveitem', 'admin', function(xPlayer, args, showError)