1
0
Fork 0
forked from Simnation/Main

Update open.lua

This commit is contained in:
Miho931 2025-07-14 16:48:09 +02:00
parent 3cb7d9d756
commit 77c93d5411

View file

@ -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