buildat/client/init.lua

22 lines
545 B
Lua
Raw Normal View History

2014-09-18 21:54:29 +03:00
-- 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
2014-09-19 03:07:37 +03:00
function logger:error(text)
print(os.date("%b %d %H:%M:%S "..module.." ERROR: "..text))
end
2014-09-18 21:54:29 +03:00
return logger
end
local log = buildat:Logger("__client/init")
2014-09-18 21:54:29 +03:00
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/sandbox.lua")
2014-09-18 21:54:29 +03:00