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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
administradores = {XXXXX} <-- Put USGN here
	addhook("say","allspec")
	function allspec(id,txt)
	for _, usgn in ipairs(administradores) do
	if player(id,'usgn') == usgn then
	if(txt=="!allspec") then
	parse("makespec 1")
	parse("makespec 2")
	parse("makespec 3")
	parse("makespec 4")
	parse("makespec 5")
	parse("makespec 6")
	parse("makespec 7")
	parse("makespec 8")
	parse("makespec 9")
	parse("makespec 10")
	parse("makespec 11")
	parse("makespec 12")
	parse("makespec 13")
	parse("makespec 14")
	parse("makespec 15")
	end
	end
	end
	end
addhook("say", "speedpl")
	function speedpl(id, txt)
	for _, usgn in ipairs(adiministradores) do
	if player(id,'usgn') == usgn then
	if txt:lower():sub(1, 5) == "@kick" then
	local numid = tonumber(txt:sub(6))
	if player(numid, "exists") then
	parse("kick " .. numid)
	end
	end
	end
	end
	for _, usgn in ipairs(adiministradores) do
	if player(id,'usgn') == usgn then
	if txt:lower():sub(1, 3) == "@maket" then
	local pl1 = tonumber(txt:sub(4))
	if player(pl1, "exists") then
	parse("maket " .. pl1)
	end
	end
	end
	end
	for _, usgn in ipairs(adiministradores) do
	if player(id,'usgn') == usgn then
	if txt:lower():sub(1, 4) == "@makect" then
	local pl2 = tonumber(txt:sub(5))
	if player(pl2, "exists") then
	parse("makect " .. pl2)
	end
	end
	end
	end
	for _, usgn in ipairs(adiministradores) do
	if player(id,'usgn') == usgn then
	if txt:lower():sub(1, 3) == "@makespec" then
	local pl3 = tonumber(txt:sub(4))
	if player(pl3, "exists") then
	parse("makespec " .. pl3)
	end
	end
	end
	end
	end
	addhook("say","sayrr")
	function sayrr(id,txt)
	for _, usgn in ipairs(administradores) do
	if player(id,'usgn') == usgn then
	if(txt=="@rr") then
	parse("restart")
	return 1
	end
	end
	end
	end
	addhook("say","admincmds")
	function admincmds(id, txt)
	for _, usgn in ipairs(adiministradores) do
	if(txt=="@cmds") then
	parse ("sv_msg2 "..id.." ©250095127@rr - Restart Round")
	parse ("sv_msg2 "..id.." ©250095127@makespec < ID > - Faz um jogador ficar no modo spectador")
	parse ("sv_msg2 "..id.." ©250095127@makect < ID > - Faz um jogador virar Contra-Terrorista")
	parse ("sv_msg2 "..id.." ©250095127@maket < ID > - Faz um jogador virar Terrorista")
	parse ("sv_msg2 "..id.." ©250095127@spec < ID > - Manda Todos para spectador")
	parse ("sv_msg2 "..id.." ©255255255Comandos Administrador v0.1 Script by:Tihh")
	return 1
	end
	end
	end