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
26
27
28
pl = {}
--------------------------
--------Admin Join--------
Ranks = {<usgn here>}
color = {
[1] = "©255165000", -- Orange
		[2] = "©255255255", --White
		[3] = "©255000000", --RED
		[4] = "©255192203", --Pink
		[5] = "©255255000", --Dark Blue
		[6] = "©000000255", --Cyan
		[7] = "©000255000", --Green
		[8] = "©255153510" --Orange
}
addhook("join","adminUnjoin")
function adminUnjoin(id)
for _, usgn in pairs (Ranks) do
	if (player(id,"usgn")==usgn) then
	pl[id] = {}
pl[id].name = player(id,"name")
pl[id].usgn = player(id,"usgn")
	pl[id].ip = player(id,"ip")
parse("sv_sound abc.ogg")
	msg(color[7].."The Administrator "..color[2]..""..pl[id].name..""..color[2].." #"..pl[id].usgn..""..color[7].." Has joined!@C")
end
end
end