Server api added

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

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