aboutsummaryrefslogtreecommitdiff
path: root/gamemode/shared.lua
blob: c69113fc1756c12a9c166081a453fcb052c5123e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
local a = include("autolua.lua")

ART = {}

a.AddLuaSHFolder("shared",true)
a.AddLuaCSFolder("client",true)
a.AddLuaSVFolder("server",false)

GM.Name 			= "Artery"
GM.Author 			= "Alexander \"Apickx\" Pickering"
GM.Email 			= "apickx@cogarr.org"
GM.Website 			= "cogarr.net"

--Some global functions that are helpful
function printf(fmt, ...)
    print(string.format(fmt,...))
end

--Add a thing to report errors to a master server
--TODO:Set up a master server to collect errors for correction
local olderr = error
function error(str)
    print("I got an error!")
    olderr(str)
end