From bf1fafb19291c4d14eefa5b2cb3d6916e473febb Mon Sep 17 00:00:00 2001 From: darknight2590 <87971656+darknight2590@users.noreply.github.com> Date: Mon, 3 Jan 2022 09:09:24 +0200 Subject: [PATCH] fix rename --- client/functions.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/functions.lua b/client/functions.lua index 11e705b..de9a076 100644 --- a/client/functions.lua +++ b/client/functions.lua @@ -241,11 +241,11 @@ function QBCore.Functions.IsWearingGloves() local model = GetEntityModel(PlayerPedId()) local retval = true if model == `mp_m_freemode_01` then - if QBCore.Shared.MaleNoHandshoes[armIndex] ~= nil and QBCore.Shared.MaleNoHandshoes[armIndex] then + if QBCore.Shared.MaleNoGloves[armIndex] ~= nil and QBCore.Shared.MaleNoGloves[armIndex] then retval = false end else - if QBCore.Shared.FemaleNoHandshoes[armIndex] ~= nil and QBCore.Shared.FemaleNoHandshoes[armIndex] then + if QBCore.Shared.FemaleNoGloves[armIndex] ~= nil and QBCore.Shared.FemaleNoGloves[armIndex] then retval = false end end