From 77c93d541132528a33e70d5a538342538e8fd79c Mon Sep 17 00:00:00 2001 From: Miho931 <98314142+Miho931@users.noreply.github.com> Date: Mon, 14 Jul 2025 16:48:09 +0200 Subject: [PATCH] Update open.lua --- resources/[jobs]/[weapons]/pug-sling/client/open.lua | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/resources/[jobs]/[weapons]/pug-sling/client/open.lua b/resources/[jobs]/[weapons]/pug-sling/client/open.lua index 0746a158e..877b1908f 100644 --- a/resources/[jobs]/[weapons]/pug-sling/client/open.lua +++ b/resources/[jobs]/[weapons]/pug-sling/client/open.lua @@ -74,6 +74,14 @@ if not Config.UseOldSlingScript then else return false end + elseif GetResourceState("tgiann-inventory") == 'started' then + local count = exports["tgiann-inventory"]:HasItem(Weapon) + + if count then + return true + else + return false + end elseif GetResourceState("core_inventory") == 'started' then if Framework == "QBCore" then local citizenid = FWork.Functions.GetPlayerData().citizenid