forked from Simnation/Main
Update open.lua
This commit is contained in:
parent
efaef09a83
commit
8d321f20cf
1 changed files with 47 additions and 52 deletions
|
@ -75,14 +75,8 @@ if not Config.UseOldSlingScript then
|
|||
return false
|
||||
end
|
||||
elseif GetResourceState("tgiann-inventory") == 'started' then
|
||||
local count = exports["tgiann-inventory"]:Items(Weapon)
|
||||
print("Miho output... \n Weapon: "..Weapon)
|
||||
|
||||
if count then
|
||||
return true
|
||||
else
|
||||
return false
|
||||
end
|
||||
-- Fixed implementation for tgiann-inventory
|
||||
return exports["tgiann-inventory"]:HasItem(Weapon, 1)
|
||||
elseif GetResourceState("core_inventory") == 'started' then
|
||||
if Framework == "QBCore" then
|
||||
local citizenid = FWork.Functions.GetPlayerData().citizenid
|
||||
|
@ -110,6 +104,7 @@ if not Config.UseOldSlingScript then
|
|||
end
|
||||
end
|
||||
|
||||
|
||||
local function CheckJobVerified()
|
||||
local PlayerJob = Config.FrameworkFunctions.GetPlayer().PlayerData.job.name
|
||||
for _,v in pairs(Config.RackCapableJobs) do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue