mirror of
https://github.com/ND-Framework/ND_Core.git
synced 2026-08-17 05:56:01 +01:00
fix: check for inventory
This commit is contained in:
@@ -23,6 +23,11 @@ CreateThread(function()
|
|||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
|
|
||||||
if GetExport("ox_inventory") then
|
AddEventHandler("onResourceStart", function(resourceName)
|
||||||
|
Wait(3000)
|
||||||
|
if resourceName ~= "ox_inventory" then return end
|
||||||
|
SetConvarReplicated("inventory:framework", "nd")
|
||||||
|
end)
|
||||||
|
if GetResourceState("ox_inventory") == "started" then
|
||||||
SetConvarReplicated("inventory:framework", "nd")
|
SetConvarReplicated("inventory:framework", "nd")
|
||||||
end
|
end
|
||||||
Reference in New Issue
Block a user