#1
if GetPedArmour(PlayerPedId()) >= 50 then
QBCore.Functions.Notify(Lang:t('consumables.armor_full'), 'error')
return
end