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
--------------------------------------------------
-- Script By CyberMaster(CM) [Mask Tree] --
-- 2012.07.25 -- Silent Softworks --
--------------------------------------------------
--------------
-- Hooks CM --
--------------
addhook("startround","cm.startround")
function cm.startround()
	cm.masktree()
end
-----------------
-- Function CM --
-----------------
cm.masktree()
function cm.masktree()
	for i=1,32,1 do
		id=image("gfx/cm/mask.png",0,0,100+i)	 -- IMG
		imagecolor(id,255,255,0)						-- Color
		imageblend(id,1)								-- Blend
		imagealpha(id,0.5)								-- Alpha
	end
end
----------------
-- SAY SCRIPT --
----------------
addhook("say","cm.masktree")
function cm.masktree(p,txt)
if (txt=="!mask") then
parse("sv_sound \"cm/mask_build.wav\""); end
end