Thanks,
Computerguy419
Scripts
Only Admins can join ct
Only Admins can join ct
1

Computerguy419 adminlist = {86418}	-- Adminlist separated by comma
addhook("team","checker")
function checker(id,team)
	if team==2 then
		for _, hasil in ipairs(adminlist) do
			if player(id,"usgn")==hasil then
				return 0
			else
				parse("maket "..id)
				return 1
			end
		end
	end
end
MikuAuahDark: Your first table is messed up, it ends with a regular bracket. The first line should beadminlist = {86418} -- Adminlist separated by comma
adminteam = 1 -- code... -- if team==adminteam then
adminlist = {86418} -- Adminlist separated by comma
addhook("team","checker")
function checker(id,team)
if team==1 then
for _, hasil in ipairs(adminlist) do
if player(id,"usgn")==hasil then
return 0
else
parse("maket "..id)
return 1
end
end
end
end
parse("maket "..id)
parse("makect "..id)
1
