diff --git a/server-data/resources/[esx_addons]/esx_basicneeds/server/main.lua b/server-data/resources/[esx_addons]/esx_basicneeds/server/main.lua index 1dc4ee8b4..6cbd0c7e1 100644 --- a/server-data/resources/[esx_addons]/esx_basicneeds/server/main.lua +++ b/server-data/resources/[esx_addons]/esx_basicneeds/server/main.lua @@ -1,4 +1,4 @@ -ESX.RegisterCommand('heal', 'admin', function(xPlayer, args, showError) +ESX.RegisterCommand('heal', 'admin', function(_, args) args.playerId.triggerEvent('esx_basicneeds:healPlayer') args.playerId.showNotification(_U('got_healed')) end, true, {help = 'Heal a player, or yourself - restores thirst, hunger and health.', validate = true, arguments = {