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
addhook("second","adgloww")
function adgloww(id)
	for id = 1,32 do
		if (player(id,"exists")) then
			time_glow[id]=time_glow[id]+1
			if time_glow[id] >= 3 then
				time_glow[id]=1
			end
		
		elseif time_glow[id]==2 then
			if black_glow[id]=="true" then
				parse([[effect "colorsmoke" ]]..player(id,"x")..[[ ]]..player(id,"y")..[[ 75 75 0 0 0]])
			elseif white_glow[id]=="true" then
				parse([[effect "colorsmoke" ]]..player(id,"x")..[[ ]]..player(id,"y")..[[ 75 75 255 255 255]])
			elseif green_glow[id]=="true" then
				parse([[effect "colorsmoke" ]]..player(id,"x")..[[ ]]..player(id,"y")..[[ 75 75 0 255 0]])
			elseif blue_glow[id]=="true" then
				parse([[effect "colorsmoke" ]]..player(id,"x")..[[ ]]..player(id,"y")..[[ 75 75 0 0 255]])
			elseif red_glow[id]=="true" then
				parse([[effect "colorsmoke" ]]..player(id,"x")..[[ ]]..player(id,"y")..[[ 75 75 255 0 0]])
			elseif purple_glow[id]=="true" then
				parse([[effect "colorsmoke" ]]..player(id,"x")..[[ ]]..player(id,"y")..[[ 75 75 255 0 255]])
			elseif orange_glow[id]=="true" then
				parse([[effect "colorsmoke" ]]..player(id,"x")..[[ ]]..player(id,"y")..[[ 75 75 255 255 0]])
			elseif fire_glow[id]=="true" then
				parse([[effect "fire" ]]..player(id,"x")..[[ ]]..player(id,"y")..[[ 75 75 255 255 255]])
			elseif smoke_glow[id]=="true" then
				parse([[effect "smoke" ]]..player(id,"x")..[[ ]]..player(id,"y")..[[ 100 100 255 255 255]])
			end
			time_glow[id]=0
		end
	end
end