From 8e223144bbdb51058000653195b16c5d3466a7bf Mon Sep 17 00:00:00 2001 From: Nordi98 Date: Mon, 30 Jun 2025 21:17:07 +0200 Subject: [PATCH] fix --- resources/[inventory]/qs-inventory/config/weapons.lua | 4 +++- resources/[qb]/qb-core/shared/items.lua | 4 ++-- resources/[qb]/qb-core/shared/weapons.lua | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/resources/[inventory]/qs-inventory/config/weapons.lua b/resources/[inventory]/qs-inventory/config/weapons.lua index 86c2d81ad..f8b28e797 100644 --- a/resources/[inventory]/qs-inventory/config/weapons.lua +++ b/resources/[inventory]/qs-inventory/config/weapons.lua @@ -19,6 +19,8 @@ Config.DurabilityBlockedWeapons = { -- List of weapons excluded from durabili 'weapon_nightstick', 'weapon_flashlight', 'weapon_unarmed', + 'weapon_pocketlight', + 'weapon_colbaton', } -- You can use your custom weapon attachment lines by adding them here @@ -57,7 +59,7 @@ Config.Throwables = { -- Defines throwable items that players can use 'snowball', 'stickybomb', 'newspaper', - 'shoe', + '', } diff --git a/resources/[qb]/qb-core/shared/items.lua b/resources/[qb]/qb-core/shared/items.lua index 4ae6c2203..8db72dc44 100644 --- a/resources/[qb]/qb-core/shared/items.lua +++ b/resources/[qb]/qb-core/shared/items.lua @@ -9874,7 +9874,7 @@ QBShared.Items = { type = 'weapon', image = 'weapon_dagger.png', }, - weapon_throwingshoe_red = { + weapon_throwingshoered = { shouldClose = true, type = 'weapon', description = '', @@ -9883,6 +9883,6 @@ QBShared.Items = { unique = true, useable = true, image = 'weapon_throwingshoered.png', - name = 'weapon_throwingshoe_red', + name = 'weapon_throwingshoered', }, } \ No newline at end of file diff --git a/resources/[qb]/qb-core/shared/weapons.lua b/resources/[qb]/qb-core/shared/weapons.lua index c38ca8f58..cfaa798c5 100644 --- a/resources/[qb]/qb-core/shared/weapons.lua +++ b/resources/[qb]/qb-core/shared/weapons.lua @@ -129,7 +129,7 @@ QBShared.Weapons = { [`weapon_ball`] = { name = 'weapon_ball', label = 'Ball', weapontype = 'Throwable', ammotype = 'AMMO_BALL', damagereason = 'Died' }, [`weapon_smokegrenade`] = { name = 'weapon_smokegrenade', label = 'Smoke Grenade', weapontype = 'Throwable', ammotype = nil, damagereason = 'Died' }, [`weapon_flare`] = { name = 'weapon_flare', label = 'Flare pistol', weapontype = 'Throwable', ammotype = 'AMMO_FLARE', damagereason = 'Died' }, - [`weapon_throwingshoe_red`] = { name = 'weapon_throwingshoe_red', label = 'Schuh rot', weapontype = 'Throwable', ammotype = nil, damagereason = 'Died' }, + [`weapon_throwingshoered`] = { name = 'weapon_throwingshoered', label = 'Schuh rot', weapontype = 'Throwable', ammotype = nil, damagereason = 'Died' }, -- Miscellaneous [`weapon_petrolcan`] = { name = 'weapon_petrolcan', label = 'Petrol Can', weapontype = 'Miscellaneous', ammotype = 'AMMO_PETROLCAN', damagereason = 'Died' },