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
addhook("die","_die")
function _die(v,k,w,x,y)
	local t=player(v,"team")
	local l=player(v,"look")
	if t==1 then
		if l==1 then
			sound for ct with skin 1
		elseif l==2 then
			sound for ct with skin 2
		elseif l==3 then
			sound for ct with skin 3
		else
			sound for ct with skin 4
	elseif t==2 then
		if l==1 then
			sound for t with skin 1
		elseif l==2 then
			sound for t with skin 2
		elseif l==3 then
			sound for t with skin 3
		else
			sound for t with skin 4
		end
	end
end