forked from Simnation/Main
15 lines
496 B
Lua
15 lines
496 B
Lua
function GetCoreObject()
|
|
return exports[Config.Framework.Resource]:GetCoreObject()
|
|
end
|
|
|
|
function DebugPrint(level, text)
|
|
print(string.format("[%s]: %s ERROR: %s", GetCurrentResourceName(), level, text))
|
|
end
|
|
|
|
function GetCoreItems()
|
|
if Config.Inventory.Name == "qs" then
|
|
return exports[Config.Inventory.Resource]:Items()
|
|
elseif Config.Inventory.Name == "qb" then
|
|
return Core.Shared.Items -- The Var "Core" Is Getting Initiated When The Script Is Loaded
|
|
end
|
|
end
|