Server api added

This commit is contained in:
Cooldude2606 committed 2017-12-07 19:19:53 +00:00
1 parent 8d8950f1d0
commit 8a87d1075b
2 files changed
+116 -32

No files matched your search

+5 -5
View File
@@ -15,13 +15,13 @@ This file will return a function which can be used to access only the part you w
Pass a table with the names of the objects you want and it will be return in that order
]]
local ExpCore = {}
local StdExpCoreLib = {}
ExpCore.Server = require '/server'
StdExpCoreLib.Server = require '/server'
require '/commands'
--[[ExpCore.Ranking = require '/ranking'
--[[StdExpCoreLib.Ranking = require '/ranking'
require '/ranks'
ExpCore.Gui = require '/gui'
StdExpCoreLib.Gui = require '/gui'
require '/GuiParts/inputs'
require '/GuiParts/toolbar'
require '/GuiParts/center'
@@ -31,7 +31,7 @@ require '/GuiParts/popup']]
return function(rtn)
local to_return = {}
for _,name in pairs(rtn) do
if ExpCore[name] then
if StdExpCoreLib[name] then
table.insert(to_return,StdExpCoreLib[name])
end
end