-- Just Edit this
-- The 3 steamids are examples and quoted out (-- befor them)
-- To add admins, you have to had a basic knowledge about LUA tables.

ADMIN_LIST = {
"STEAM_0:1:4785384675", -- Add admins here
}


--Admin check function - don't edit this!!!

function isAdmin(userid)
	-- Give listenserveradmins autoadmin
	if (_IsDedicatedServer() == false and userid == 1) then
		return true
	end
	for i,v in ipairs(ADMIN_LIST) do
		if (userid) and (userid > 0) then
			if (string.lower(v) == string.lower(_PlayerInfo(userid,"networkid"))) then
				return true;
			end
		end
	end
	return false;
end
