forked from Simnation/Main
Update open.lua
This commit is contained in:
parent
3cb7d9d756
commit
77c93d5411
1 changed files with 8 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue