buildat/client/init.lua
2014-09-19 11:29:59 +03:00

25 lines
663 B
Lua

-- Buildat: client/init.lua
buildat = {}
function buildat:Logger(module)
local logger = {}
function logger:info(text)
print(os.date("%b %d %H:%M:%S "..module..": "..text))
end
function logger:error(text)
print(os.date("%b %d %H:%M:%S "..module.." ERROR: "..text))
end
return logger
end
local log = buildat:Logger("__client/init")
log:info("init.lua loaded")
dofile(__buildat_get_path("share").."/client/test.lua")
dofile(__buildat_get_path("share").."/client/packet.lua")
dofile(__buildat_get_path("share").."/client/extensions.lua")
dofile(__buildat_get_path("share").."/client/sandbox.lua")
local test = require("buildat/extension/test")
test.f()